in reply to Perl semi-object without a constructor
Use the POD, Wiggins!
If you're on a Mac or Linux/Unix system, type into a terminal window:
perldoc perlobj
to read about using objects in Perl. If you can't use a terminal window, or you're on Windows, go to http://perldoc.perl.org/perlobj.html
There are tons (ie several dozen) of tutorial/reference files installed on your system; perldoc perl contains the entire list. perlootut is a great OO guide for beginners.
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
|
---|
In Section
Seekers of Perl Wisdom