Well, it's not really MY code, but I will attach it.
It is line 103 that breaks! (The call to genDialog.)

Torsten

-----Ursprüngliche Nachricht-----
Von: Jenda Krynicky [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 13. September 2004 18:47
An: '[EMAIL PROTECTED]'
Betreff: Re: Undefined subroutine [...] called at [...] though sub and routine exist


From: "Schlabach, Torsten" <[EMAIL PROTECTED]>
> I have a CGI script that is calling a perl module. One function in 
> that module uses a sub which is defined only later in the source, but 
> there is a forward declaration available for the function with sub. 
> Conceptionally this looks like this:
> 
> FooModule.pm:
> 
> package FooModule;
> 
> sub usedLater;
> 
> sub theFunctionCalledFromoutside{
> 
> ...
> 
> ...
> 
> usedLater( $argument );
> 
> }
> 
> sub usedLater{
> 
> [... some code ...]
> 
> }
> 
> 1;

Conceptualy this should work. You must have a typo or something in 
your code. Show us some of the real code.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> 
<http://learn.perl.org/first-response>


Attachment: LDAPPasswordChangerPlugin.pm
Description: Binary data

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to