Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Flag variables

by zby (Vicar)
on Mar 03, 2003 at 10:53 UTC ( #239994=note: print w/replies, xml ) Need Help??

in reply to Flag variables

How about:
foreach my $var (@somearray){ if($var eq "foo"){ &someaction; last;} }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://239994]
[Eily]: I think the solution is to write posts so brilliant that you gain XP on each refresh, no matter how often :P
[marinersk]: Eily++ and LOL
[marinersk]: I get a lighter version of this disconcertion (new word?) when the n points remaining until rank disappears.
[choroba]: :-D
[marinersk]: I've often marvelled over the past few decades at just how little it takes to mess me up with this spacial dependence thing. I wonder if I'm mildly autistic or something.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-05-29 14:01 GMT
Find Nodes?
    Voting Booth?