Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Practical example of "Is Perl code maintainable" (golf)

by tye (Sage)
on Aug 13, 2007 at 15:54 UTC ( [id://632243]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub file_mode
    {
    ...
        my( $dev, $ino, $mode )= stat( _ );
        return $mode;
    }
    
  2. or download this
    # The items returned by stat():
    my( @Stat, %Stat );
    ...
        my $mode= ( stat _ )[ $Stat{mode} ];
        return $mode;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-23 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found