Showing posts with label Perl. Show all posts
Showing posts with label Perl. Show all posts

2007-01-10

Perl Code Examples - Date and Time Functions

I've put another page of example code on the linked website. This one covers basic date and time functions including epoch seconds, converting to normal dates, converting back, and how to get a date in a useful log format (yyyy-mm-dd) .

The standard DISCLAIMER applies. You can see the code HERE.

Similar Articles

2007-01-09

Perl Code Examples - General Stuff

When learning a programming language, I often create little example files to demonstrate different ways I've learned to do things. I am in the process of putting them up on the website that's attached to this blog (via the Navigator panel).

The first example is in Perl and describes general things like printing, variables, comments, basic string handling, if/then/else constructs, loops, and basic Perl hashes.

You can view it HERE

Be sure to read the DISCLAIMER too.

I have a bunch more I'll be posting over the next while.

Similar Articles