in reply to Re (tilly) 3: No excuses about not using CGI.pm
in thread variables not posting?
But it's not silent (under -w):
Though I don't quite understand, if BEGIN blocks are executed before the rest of the containing file is parsed (so sayeth perlmod), why does this happen at all?mysub(1); BEGIN { package Foo; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(mysub); sub mysub ($) { print "mysub: @_\n" }; } BEGIN { Foo->import(); } ## Output main::mysub() called too early to check prototype at C:\Projects\GPerl +\Test\g1.pl line 1. mysub: 1
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom