in reply to 'use strict' Rejecting Local Hash

It looks like you're trying to do CGI form processing. If so, use CGI. It's much simpler.

The reason why you don't get an error with %main::querystring is because strict does not require you to declare fully qualified package variables.

You can report perl bugs by typing "perlbug" at the command line, but you shouldn't do so unless you can guarantee that it's a bug. Seldom are bugs really bugs in Perl. If you think it's a bug, reduce it down to the absolutely smallest piece of code that replicates the bug. Most of the time, you'll find that the bug is really in your code rather than in Perl.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re: 'use strict' Rejecting Local Hash