Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 having an uproarious good time at the Monastery: (6)
As of 2017-02-22 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (324 votes). Check out past polls.