in reply to RE: RE: Re: Easy way to run tests on many CGI params?
in thread Easy way to run tests on many CGI params?
Then you still get both the single item $R::foo and the occasional list item @R::bar. And no code to cargo-cult-schlep around.IMPORTING ALL PARAMETERS INTO A NAMESPACE: $query->import_names('R'); This creates a series of variables in the 'R' namespace. For example, $R::foo, @R:foo. For keyword lists, a vari- able @R::keywords will appear. If no namespace is given, this method will assume 'Q'. WARNING: don't import any- thing into 'main'; this is a major security risk!!!!
-- Randal L. Schwartz, Perl hacker
|
---|