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

Re: creating class base modules

by stephen (Priest)
on Dec 17, 2002 at 15:49 UTC ( #220555=note: print w/replies, xml ) Need Help??


in reply to creating class base modules

Capital C for Cat. Classes are case sensitive in Perl.

So your code should read:

$mycat = Cat->new();

stephen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://220555]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-07-23 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (347 votes). Check out past polls.