Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by kcott (Canon)
on Mar 08, 2013 at 08:07 UTC ( #1022351=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E '
    use List::Util qw/reduce/;
    ...
    Name "main::a" used only once: possible typo at -e line 3.
    Name "main::b" used only once: possible typo at -e line 3.
    720
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
    use List::Util qw/reduce/; $a || $b || 1;
    say reduce { $a * $b } 1..6;
    '
    720
    
  3. or download this
    $ perl -Mstrict -Mwarnings -E '
    use List::Util qw/reduce sum/; $a || $b || 1;
    ...
    '
    720
    21
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022351]
help
Chatterbox?
LanX leaves with a song of the Chjuman League
[ambrus]: LanX: that's funny because it's actually the upper class that sleep in hotels, so they're the ones who should know how it's pronounced
[LanX]: h is mute in French (and most other romanic languages)
[LanX]: https://en. oxforddictionaries .com/explore/words -with-silent-h
[LanX]: it's 'orrible zis langage...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-03-27 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.