Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Khen1950fx (Canon)
on Mar 06, 2013 at 03:33 UTC ( [id://1021941]=note: print w/replies, xml ) Need Help??


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

Maybe this is satisfactory?
#!/usr/bin/perl -l use strict; use warnings FATAL => 'syntax'; use List::Util qw/reduce/; print reduce( sub { $a * $b; }, 1..6);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2025-11-13 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (69 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.