Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Optimizing existing Perl code (in practise)

by Aristotle (Chancellor)
on Aug 19, 2002 at 10:18 UTC ( #191130=note: print w/replies, xml ) Need Help??


in reply to Re: Optimizing existing Perl code (in practise)
in thread Optimizing existing Perl code (in practise)

my $time1 = strftime "%H:%M:%S", localtime;
You mean s/localtime/time/ of course.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^2: Optimizing existing Perl code (in practise)
by Hrunting (Pilgrim) on Aug 19, 2002 at 13:35 UTC
    You mean s/localtime/time/ of course.

    I sure hope he doesn't. From the POSIX perldoc page:

    Synopsis: strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, + isdst = -1)
    Those are the same values as returned by localtime().

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191130]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-05-25 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (152 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!