[cgiapp] Does loading PARAMS make them global?

2007-02-08 Thread Robert Hicks
my $webapp = AbramsRest-new( PARAMS = { die_on_bad_params = 0, loop_context_vars = 1, global_vars = 1, } ); I have that in my instance script. I am trying to pass those params to all the HT templates. I know that CA has a callback for load_tmpl and I was

[cgiapp] Dangerous CGI practice?

2007-02-08 Thread Robert Hicks
Is it dangerous to pass relative paths to things instead of full paths? For example within my web app I have logging and I tell it where to log by 'logs/logname.log' and not '/home/public/logs/logname.log'. I also have my personal lib as: 'use lib qw( lib/ );' and not: