in reply to RE: RE: CGI.pm for CSS, tables, pet tricks
in thread (code)) CGI.pm - CSS, tables... (deprecated by node 50167)
use vars qw($type $expires $css $title $tm $file $mod); $type = 'text/html'; $expires = 'now'; $css = './ybiC.css'; $title = 'CGI, CSS and Tables'; $tm = localtime; $file = '/var/www/htdocs/ybiC.cgi'; $mod = ctime(stat($file)-> mtime);
I like "use vars qw() for keeping me mindful of all the script's variables. But if there are reasons for pitching it and using "my", please enlighten me.
Update: Oops. Had I re-read zdog's reply above, I would have asked this question differently. <sheepish grin>
cheers,
ybiC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: (3) CGI.pm for CSS, tables, pet tricks (use vars vs my)
by davorg (Chancellor) on Aug 14, 2000 at 19:31 UTC | |
by tye (Sage) on Aug 14, 2000 at 19:52 UTC |