Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 musing on the Monastery: (5)
As of 2014-11-27 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls