I would like to do something like (psuedo coded)

my $req = CGI->new();
my %params = $req->Vars;

if ndef %params {
  %params = 'gets a hash time that i build'
}

The goal of course is to make sure that %params has some hash table
available even if the script is not called in a cgi environment.

Any pointers?


-- 
--
David Bear
College of Public Programs at Arizona State University


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to