Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Practical example of "Is Perl code maintainable"

by eyepopslikeamosquito (Canon)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2014-10-20 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (88 votes), past polls