>>>>> "Perl" == Perl Org <[EMAIL PROTECTED]> writes:

Perl> In fact I wish localtime would return an associative array
Perl> instead of a positional array (I basically wrap localtime with a
Perl> sub that converts the data to a hash).

Maybe you'd be happier with:

        use Time::localtime;
        printf "Year is %d\n", localtime->year + 1900;

core module, for a LONG time now.

print "Just another Perl hacker,"; # the original

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to