returnspackage Foo; use strict; require Exporter; use vars qw(@ISA @EXPORT @EXPORT_OK); @ISA = qw(Exporter); @EXPORT_OK = qw($CGI); @EXPORT = qw($CGI); use CGI; our $CGI = new CGI; die $CGI; # I tried the export stuff down here, too 1; ----- use Foo qw($CGI);
"$CGI" is not exported by the Foo module at..
In reply to Re: Re: Re: Re: Exporter usage?
by Anonymous Monk
in thread Exporter usage?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |