|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Re: construct a standard object oriented programby orkysoft (Friar) |
| on Mar 30, 2002 at 16:10 UTC ( #155435=note: print w/ replies, xml ) | Need Help?? |
|
To define a class in perl from which objects can be created and against which functions can be called, you basically need a perl module with a constructor function, No, you need a namespace -- defined with package name; I've defined a class (albeit a very, very small one) inside of a larger file once. Lur: "But if this cape shrinks, consider your species extinct!"
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||