in reply to Re: construct a standard object oriented program
in thread construct a standard object oriented program
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 packagename;
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!"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: construct a standard object oriented program
by chhe (Sexton) on Mar 30, 2002 at 21:17 UTC |