Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Return a list or an iterator

by salva (Canon)
on Apr 17, 2006 at 12:20 UTC ( [id://543801]=note: print w/replies, xml ) Need Help??


in reply to Return a list or an iterator

there was some discussion on p5p some time ago, about the return value from subroutines like the one you are using:

sub foo { shift @foo if @foo }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found