Well,

That'll teach me for posting untested code.

You may like to join the Google group for Cava or I'm happy to reply to queries at supp...@cava.co.uk.

I don't want to irritate wxPerl users with no interest in Cava.

Regards

Mark

On 15/02/2011 14:52, Johan Vromans wrote:
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

Reply via email to