Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: "return" to break out of a loop

by Joost (Canon)
on May 13, 2008 at 14:37 UTC ( [id://686278]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub direct_return {
      my ($enum,$check_type,$enums) = @_;
    ...
      }
      return;
    }
    
  2. or download this
    sub otherwise {
      my ($enum,$check_type,$enums) = @_;
    ...
      }
      return $flag ? $flag : wantarray ? () : undef;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-19 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found