Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Context aware functions - best practices?

by Aristotle (Chancellor)
on Jan 15, 2003 at 23:55 UTC ( #227296=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Context aware functions - best practices?
in thread Context aware functions - best practices?

Or maybe just return unless wantarray; because return is smart enough to provide undef by itself in scalar context. :)

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://227296]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-12-07 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.