Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Practical example of "Is Perl code maintainable"

by eyepopslikeamosquito (Chancellor)
on Aug 13, 2007 at 08:49 UTC ( #632161=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub file_size {
      my ($file) = @_;
    ...
              $dummy, $dummy, $dummy, $dummy) = stat($file);
      return $size;
    }
    
  2. or download this
    sub file_size { -s shift || 0 }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://632161]
help
Chatterbox?
[Discipulus]: marto lives above Vallo Adriano, i think
[Discipulus]: Anyway many years passed, we had Perl 3 iirc.. ;=)
[1nickt]: erix looking ... which one?
[1nickt]: Ah hm, the article sction links don;t match the sections. Lowerdown there is info and a map

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-11-21 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (299 votes). Check out past polls.

    Notices?