in reply to Subroutines not exporting? Why?
use Exporter; our @ISA = qw(Exporter);
Just a minor note: Unless your code has to work with perl older than v5.8.3 (from 2004), you don't have to inherit from Exporter to export subroutines. It is sufficient to import Exporter's import method into your module:
use Exporter qw( import ); # ... and DON'T set @ISA!
This way, Exporter's other methods, including the internal ones, don't appear as inherited methods of your module.
See also Re: Advice on style, Re^2: Advice on style.
Alexander
|
|---|