in reply to How to correctly import variables to a module ?

@ISA and @EXPORT_OK are should be globals; the lexical variables @ISA and @EXPORT_OK are different variables and do not influence Exporter.

doing

our @ISA = qw(Exporter); our @EXPORT_OK = qw( $cat $cleartool $chkconfig ) ;
will fix the problem

Replies are listed 'Best First'.
Re^2: How to correctly import variables to a module ?
by ronbarak (Novice) on Dec 13, 2006 at 08:52 UTC
    Thanks Joost, now it works :-)

    Bye,
    Ron.