Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Optimizing existing Perl code (in practise)

by semio (Friar)
on Aug 19, 2002 at 06:44 UTC ( [id://191093]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!c:/perl/bin/perl -w
    
    ...
    my $finish = strftime "%H:%M:%S", localtime;
    
    print "$start $finish";
    
  2. or download this
    #!c:/perl/bin/perl -w
    
    ...
    my $finish = strftime "%H:%M:%S", localtime;
    
    print "$start $finish";
    
  3. or download this
    my $time1 = `date '+%H:%M:%S'`;
    
  4. or download this
    my $time1 = strftime "%H:%M:%S", localtime;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found