Mark Dootson <mark.doot...@znix.com> writes: > So, if you have no 'use' statement > > if ( $Cava::Packager::VERSION ) { > my $found = Cava::Packager::GetResource( $file ); > return $found if -f $found; > }
I must be doing something wrong, then... My main script, when executed, claims that $Cava::Packager::VERSION is not set. Calling Cava::Packager::GetResource results in Undefined subroutine &Cava::Packager::GetResource called at <Packaged Modules>/isis.pl line 69. It all works well if I add a 'use Cava::Packager' at the start of the script. -- Johan