Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: what would you like to see in perl5.12?

by TimToady (Parson)
on Aug 21, 2007 at 18:31 UTC ( #634159=note: print w/ replies, xml ) Need Help??


in reply to Re^4: what would you like to see in perl5.12?
in thread what would you like to see in perl5.12?

That's not a "do once", that's a "test true once". So you'd want something more like a flipflop operator:

next if ($_ eq 'foo') ff False;
Presumably the compiler can recognize that the False test will never be true.

Those parens bother me though. Maybe the flipflop should be of looser precedence...say, the same precedence as ??!! perhaps... Hmm...


Comment on Re^5: what would you like to see in perl5.12?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-10-02 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (52 votes), past polls