Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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};


Comment on Re: A simple example OO script for total beginners
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-09-02 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls