Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You're using global variables. This is stupid. If you want to use the 'var1' parameter in the my_page() function, grab it there. If you want to use it in the setup() function, grab it there. If you want to use it in both places, grab it in both places. This smacks to me of premature optimization.
------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested In reply to Re: CGI::Application and $self->param() wierdness
by dragonchild
|
|