Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Good use for prototypes. On methods no less!

by polymorpheus (Novice)
on Jun 01, 2012 at 19:55 UTC ( #973860=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > perl -e 'sub method() { }; main->method(1, 2, 3);'
    
  2. or download this
    > perl -e 'sub method() { }; main::method("main", 1, 2, 3);'
    Too many arguments for main::method at -e line 1, near "3)"
    Execution of -e aborted due to compilation errors.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-09-19 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls