Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: A simple example OO script for total beginners

by PhosphoricX (Sexton)
on Oct 27, 2005 at 16:51 UTC ( #503413=note: print w/replies, xml ) Need Help??


in reply to A simple example OO script for total beginners

I think there is a typo on line 49 of your Number.pm example:

return self->{num};

should be

return $self->{num};

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2016-12-10 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.