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();
In reply to Exporter 5.6.0 by tvakah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |