Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl: the Markov chain saw
 
PerlMonks  

Re: built-ins sometimes iterating over a list, sometimes not

by Aristotle (Chancellor)
on Nov 08, 2001 at 12:43 UTC ( [id://124057]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to built-ins sometimes iterating over a list, sometimes not

That is why I love the statement modifier form of for. :)
OPTION_CHECK: { last OPTION_CHECK if exists $args->{$_} for @mandatory_args; printUsage() and exit(); }
Doesn't that read so beautifully descriptive? :)

Replies are listed 'Best First'.
Re: Re: built-ins sometimes iterating over a list, sometimes not
by mischief (Hermit) on Nov 08, 2001 at 14:09 UTC
    yes! exactly! isn't that what for is for?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://124057]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.