Werner Otto wrote:
When I include warnings and strict is give me allot of warnings.

They are not warnings, they are fatal errors.

What do they mean?

They mean that you are using variables without declaring them first. You should not take those error messages too literally. If you did, you'd end up with saying $main::surname instead of $surname etc. Normally you should declare your variables lexically using my() the first time they appear:


    my $surname = param("surname");

I recommend that you read this article:

    http://perl.plover.com/FAQs/Namespaces.html

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
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