Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 taking refuge in the Monastery: (9)
As of 2014-10-01 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls