in reply to Re^2: Problem using -I argument with Perl
in thread Problem using -I argument with Perl

Name your module with an underscore instead of a hyphen

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)

  • Comment on Re^3: Problem using -I argument with Perl

Replies are listed 'Best First'.
Re^4: Problem using -I argument with Perl
by merrymonk (Hermit) on Jan 11, 2007 at 08:16 UTC
    That did it! Many thanks.
    I would never have guessed that was the problem.
    However, I do not understand why the print output in the main part came after the print from the module when the code lines were the other way around.