You must be on a case-insensititve file system. It should be "use Exporter;". But "Exporter" does nothing in your code. It would work exactly the same without "use Exporter;" and without setting "@EXPORT_OK".use EXPORTER; package noname1; our @EXPORT_OK = qw($wibble); our $wibble = 'Hello World'; 1;
What happened? Your replies are usually more to the point.
Anno
In reply to Re^2: Using variables declared in a library from other perl scripts
by Anno
in thread Using variables declared in a library from other perl scripts
by linuxfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |