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

Re: Name "main::a" used only once: possible typo

by davido (Archbishop)
on Mar 05, 2013 at 20:10 UTC ( #1021896=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    reduce { no warnings 'once'; $a * $b } 1 .. 6;
    
  2. or download this
    reduce { our ( $a, $b ); $a * $b } 1 .. 6;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-10-21 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (99 votes), past polls