Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 meditating upon the Monastery: (14)
As of 2015-07-07 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls