tvakah has asked for the wisdom of the Perl Monks concerning the following question:
And then in another file:package foo; require Exporter; @ISA = qw(Exporter); use CGI qw(header); @EXPORT = qw(header); 1;
This worked before I installed perl 5.6.0. Now it tells me that &main::header is undefined. I have tryed rewriting the module in various different ways. Why doesn't this work?use foo; print header();
|
|---|