Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: A simple example OO script for total beginners

by shobhit (Sexton)
on Apr 27, 2007 at 19:53 UTC ( #612445=note: print w/ replies, xml ) Need Help??


in reply to Re: A simple example OO script for total beginners
in thread A simple example OO script for total beginners

An excellent article which got me started with OOP in Perl. This is exactly the kind of thing I was looking for.
However, I would like to point out something. The

1;
at the end is not entirely necessary. We can just as well use,
our @ISA=qw/Exporter/;
Which I guess is a better way of telling the world, that you may import this package/class in your own scripts.


Comment on Re^2: 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://612445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-09-20 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls