Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by LanX (Chancellor)
on Mar 11, 2013 at 13:40 UTC ( #1022797=note: print w/replies, xml ) Need Help??


in reply to Re: Name "main::a" used only once: possible typo
in thread Name "main::a" used only once: possible typo

cause it doesn't work?

use List::Util qw/reduce/; print reduce { $_[0] * $_[1] } 1..6; __END__ Use of uninitialized value in multiplication (*) at /home/lanx/B/PL/PM +/ScopeListUtils.pl line 23. ...

Cheers Rolf

Replies are listed 'Best First'.
Re^3: Name "main::a" used only once: possible typo
by mithaldu (Monk) on Mar 11, 2013 at 17:48 UTC
    Well damn. I was sure i had used that on List::Util stuff to get around $a/b warnings. Guess i misremembered.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022797]
help
Chatterbox?
[LanX]: whats the best way to restrict a MySQL Text Column to alphanums + underscore ?
[LanX]: CHARACTER SET?
[chacham]: ought to be a check constraint.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-03-30 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.