Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Why does the first $c evaluate to the incremented value ... (check)

by Anonymous Monk
on Mar 06, 2014 at 03:00 UTC ( [id://1077173]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Why does the first $c evaluate to the incremented value ... (hahaha)
in thread Why does the first $c evaluate to the incremented value in [$c, $c += $_] ?

Its relatively easy to check your code for such constructs because Perl::Critic::Policy is xpaths you can copy this example Perl::Critic::Policy::ValuesAndExpressions::UndefinedBehaviourMaybeQuoteit / $1 not quoted (value not frozen) undefined behaviour
  • Comment on Re^8: Why does the first $c evaluate to the incremented value ... (check)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found