in reply to OO vs. global variables...
In practise this isn't done much, because modules do the same thing with a lot less fuss. If you want global variables, just create a module with variables in it, and access the variables from your main program. This is one of the times you can really appreciate Perl letting you break the rules in a good way.
____________________
Jeremy
I didn't believe in evil until I dated it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 2: OO vs. global variables...
by tilly (Archbishop) on Sep 05, 2001 at 20:38 UTC |