Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Prototypes allow overloading subs?

by alien_life_form (Pilgrim)
on Dec 04, 2002 at 14:15 UTC ( [id://217480]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    def foo(one,two=None,*args,**kwargs) :
        pass
    
  2. or download this
     foo(1)
     foo(1,2)
     foo(two=3,one=4,'fubar',three=42)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found