Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Practical example of "Is Perl code maintainable"

by xdg (Monsignor)
on Aug 13, 2007 at 10:43 UTC ( #632185=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::stat qw(stat);
    
    ...
      my $stat = stat($path) or return -1;
      return $stat->mode;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://632185]
help
Chatterbox?
[marto]: As discussed yesterday SoPW
[Discipulus]: r@i see perlvar in the docs: $$ is the PID of the current running process. I suppose the name will be perl anyway
[marto]: They want a cross platform tool to identify processes IIRC

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-10-24 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?