Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: prototypes parens/parenthesis hash initialization/declaration / Too many arguments for / $$

by kcott (Archbishop)
on Feb 12, 2013 at 21:57 UTC ( [id://1018454]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse,-p -e 'sub ff($$){ qq{@_} } my %f = ( 12 => ff 1,2,
    + 34 => ff 3,4 );'
    Too many arguments for main::ff at -e line 1, near "4 )"
    ...
        "@_";
    }
    (my(%f) = (12, &ff(1, 2, 34, ff(3, 4))));
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-03-28 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found