Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl Monk, Perl Meditation
 
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 studying the Monastery: (7)
As of 2014-04-18 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (464 votes), past polls