Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 surveying the Monastery: (7)
As of 2015-09-01 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (367 votes), past polls