Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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 +/ 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022797]
beech testing firefox 52.0.1
beech me me me me
beech mi
beech eieie
beech .oO( *you* don't exist, I'm only messaging to *me* self),
[beech]: *me
beech oh my *me my*
beech cannot replicate
beech stupid 3d printer
[rajesh_perl]: hi

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-03-28 07:12 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (327 votes). Check out past polls.