in reply to modules within modules...a question

You'll need to post the modules (removing the bodies of the functions, please) and the script portion where you bring in the modules in order for us to say anything useful. There are dozens of reasons why this might be failing.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: modules within modules...a question

Replies are listed 'Best First'.
Re: Re: modules within modules...a question
by Crian (Curate) on Apr 01, 2004 at 15:49 UTC
    No, I think the error message

    > Undefined subroutine &main::randsalt called at ./test.pl line

    indicates, that he tries to call randsalt in the main package, where is no randsalt. So I think (as I posted above), that he forgot to qualify the name or to export the function.

    What else reason could lead to that error message?