Perl exporter

B

bob

I have been struggerling with a problem for the last few days and have been
reading up but to no avail.
Hope fully someone here may be able to help.

I am using perl Exporter as i have done for the last 4 years.

Basically my exporter works if i do

use MyModule qw(function function_not_existing);
i.e. it throws the usual error that the function doesn't exist which is what
i want.

but does't when i do

use Path::MyModule qw(function
function_not_existing)

it doesn't error.

Any help is appreciated. Im using perl 5.8 on Solaris.

Thanks
 
A

Anno Siegel

bob said:
I have been struggerling with a problem for the last few days and have been
reading up but to no avail.
Hope fully someone here may be able to help.

I am using perl Exporter as i have done for the last 4 years.

Basically my exporter works if i do

use MyModule qw(function function_not_existing);
i.e. it throws the usual error that the function doesn't exist which is what
i want.

but does't when i do

use Path::MyModule qw(function
function_not_existing)

it doesn't error.

Any help is appreciated. Im using perl 5.8 on Solaris.

I cannot reproduce this with perl 5.8.1.

Anno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top