RE: cgi and html

2001-08-04 Thread Brian
Quick question, instead of doing a while(HTML){$template .= $_;} couldn't you just localize $/ and then slurp the file into $template? In other words, do this: sub getTemplate { my ($t,$template); return undef unless $t = $_[0]; local $/ = undef; open(HTML, $_[0]) || print Could not open

Re: Insecure, dependant and tainted:(

2001-08-04 Thread Me
Insecure, dependant and tainted:( Heh. Perl can be a bit brutal at times... if ( open( FD, $Globals::DATA/$site/$Globals::REFTALLY )) { #**Error occurs here (on open)*** if ( open( FD, $Globals::DATA/$site/$Globals::REFTALLY )) { Insecure dependency in

Re: Random Number Generation

2001-08-04 Thread Mike Rodgers
. wrote: Are you sure it's the llama book, not the camel? Either way, blue or pink? - Original Message - From: Mike Rodgers [EMAIL PROTECTED] To: . [EMAIL PROTECTED] Sent: Saturday, August 04, 2001 6:55 AM Subject: Re: Random Number Generation . wrote: Another thing