in reply to using pl/pm and require HELP !

You need to prepend the package name to the function name. Is there a package statement in myperlscript.pl? If not, you'll need to write main::subroutinefrom_myperlscript(), if yes, you'll have to substitute that package name for main. You probably want to have another look at perldoc perlmod.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: using pl/pm and require HELP !
by Anonymous Monk on Jul 16, 2003 at 19:35 UTC
    thank you so much Aristotle, I shall try it first thing in the morning !, meanwhile, now where is that perldoc... I shall let you know how I get on. what an excellent monastery this is
Re: Re: using pl/pm and require HELP !
by considertheant (Novice) on Jul 17, 2003 at 07:39 UTC
    Fantastic ! it worked first time (of course!) thanks muchly, I had actually tried $main:: to no avail so thanks for that .