in reply to Re: Undefined subroutine &main error
in thread Undefined subroutine &main error
in reply to the last coment from cfreak
>You can mix the parameters as well by doing perl -cw, that will give you both.<
so, i fixed the spelling of "use CGI qw(:sandard -debug);"
and it worked fine.
your suggestion of using 'perl -cw' (tried -wc also) checking only syntax and not reaching runtime.
"...\exc\bonus>perl -wc bonus1.pl
bonus1.pl syntax OK" same return from -cw.
Thnx anyway.