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

Re: Flag variables

by webfiend (Vicar)
on Mar 03, 2003 at 21:04 UTC ( #240158=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub has_phrase {
      my ($phrase, @wordlist) = @_;
    ...
    
    # ... called later
    if (has_phrase("foo", @somearray)) { &someaction }
    
  2. or download this
    sub has_phrase {
      my ($phrase, @wordlist) = @_;
    ...
    
      return;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-11-26 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls