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 19:09 UTC
    yes! exactly! isn't that what for is for?