From:                   Jorge Goncalvez <[EMAIL PROTECTED]>

> Hi, I wanted to create a package like this:
> <code sniped>
> 
> use GetMyRegPath;
> 
> but it fails and i have this why?
> thanks
> 
> GetMyRegPath.pm did not return a true value at bootnet3.pl line 40.

The last command in the GetMyRegPath.pm should be
        1;

Basicaly the module can execute some initialization and thus may 
want to report that it did not initialize properly. So if the last 
statement in the module returns a true value the module is 
considered loaded, otherwise it fails with the error message above.

HTH, Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

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

Reply via email to