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

Re^3: Eliminating "used only once" warnings from List::Util::reduce

by BrowserUk (Pope)
on Jul 30, 2013 at 19:12 UTC ( #1047107=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN{
        printf "'%s'\n", scalar caller();
        $main::a || $main::b
    }
    
  2. or download this
    C:\test\primes>perl -Mstrict -MList::Util=reduce -wE" say reduce{ $a +
    +$b } 1,2,3"
    'main'
    ...
    Name "fred::b" used only once: possible typo at -e line 1.
    6
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-09-01 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (366 votes), past polls