Hi!

On Fri, Dec 12, 2003 at 08:32:30PM -0800, Chris Ochs wrote:

> I am using CGI.pm with mod perl, and simply because I hate using
> $q->param('var') I use $q->import_names('CGI') so I can reference the post
> variables as $CGI::var.  CGI.pm does not clear this namespace and I am not
> sure of the best way to clear an entire namespace.  Any ideas?

IMO you're far better of adapting to the $q->param syntax than to import a
whole lot of symbols (let alone deleting them after use).

Additionally, you could switch to Apache::Request, which is much faster than
CGI.pm and uses nearly the same syntax.

-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to