Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: perl oo

by mirod (Canon)
on Jan 15, 2001 at 23:33 UTC ( [id://52018]=note: print w/replies, xml ) Need Help??


in reply to perl oo

Your problem is when you get the arguments for new: when you do $obj=Send->new($name); the subroutine gets _2_ arguments: the class name ("Send") amd $name. so the new method should start with

my( $class, $user)=@_;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-19 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found