Jan Gruber wrote:
>
> What could be a possible reason, that functions exported by a module appear
> like that in the Symbol Table:
>
> Eris_Gate::__ANON__[/usr/lib/perl5/site_perl/5.8.0/Modules/Eris_Gate.pm:146]
> Eris_Gate::__ANON__[/usr/lib/perl5/site_perl/5.8.0/Modules/Eris_Gate.pm:147]
> Eris_Gate::__ANON__[/usr/lib/perl5/site_perl/5.8.0/Modules/Eris_Gate.pm:148]
>
> First of all, the line numbers are wrong, looking at the source there is no
> sub definition in these lines.
>
> In Eris_Gate.pm:
> @EXPORT contains the names for the subs to be exported, @EXPORT_OK is empty
> and the package @ISA (Exporter).
>
> I use Modules::Eris_Gate; in the script, but calling a sub defined in there
> results in "Undefined subroutine &main::return_sumfink called at ...."

At first guess it looks like a problem with DynaLoader. But can
you show us what code you've used to produce your output?

Where is Eris_Gate.pm, and what is its package declaration? From
what you say it should be in

  /usr/lib/perl5/site_perl/5.8.0/Modules

and should read

  package Modules::Eris_Gate

Is that right?

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to