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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Exporter 5.6.0
by mwp (Hermit) on Jul 31, 2000 at 22:14 UTC | |
|
Re: Exporter 5.6.0
by redmist (Deacon) on Jul 31, 2000 at 23:52 UTC | |
|
Re: Exporter 5.6.0
by jlistf (Monk) on Jul 31, 2000 at 21:18 UTC | |