Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by BrowserUk (Pope)
on Aug 26, 2007 at 19:58 UTC ( #635158=note: print w/ replies, xml ) Need Help??


in reply to what would you like to see in perl5.12?

  1. lock as an lvalue sub that only locked for the duration of the current statement (not block) when used as an lvalue.

    Hence

    ... lock( $var )++; ..
    would be a safe and concise substitute for
    ... { lock( $var ); $var++; } ...
  2. Also share( @array ) = ( some list ); would be nice.
  3. And a share() that didn't wipe the var being shared, but rather operated recursively on its contents.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-11-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls