Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: What operator should perl5porters use for safe dereferencing? (->)

by tye (Sage)
on Jun 01, 2012 at 06:54 UTC ( #973691=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub routine {
        my( $arg, $opt ) = @_;
    ...
            if  $opt->{blargTheArg};
        ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973691]
help
Chatterbox?
[thezip]: What idiom should I use to determine that a directory is empty (for many directories)?
[thezip]: I suppose could check if readdir() returns other than '.' and '..', but that seems ugly.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-03-28 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.