Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[prospect]: Learning Perl There where 17 videos.
[prospect]: And it was great because I'm using the book as well, to get some more examples or extra information

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-09-25 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (279 votes). Check out past polls.

    Notices?