http://www.perlmonks.org?node_id=335244


in reply to "use" acting like "require" (not importing????)

Hello,

The param method is not exported by Default. You must request it.

Try:

use CGI qw( :all ); # Import Everything

Wonko

Replies are listed 'Best First'.
Re: Re: "use" acting like "require" (not importing????)
by woozy (Novice) on Mar 09, 2004 at 19:46 UTC
    Thanks. (:all) fixed it (and I assume (:cgi) would too) so thanks to you all.

Re: Re: "use" acting like "require" (not importing????)
by muba (Priest) on Mar 09, 2004 at 22:40 UTC
    I'm not sure, but I think I can remember I've learned to use 'use CGI qw( :standard );'
    
    my $native_language = "Dutch";
    my $code = !$tested unless defined $otherwise;