Thanks Rob and drieux,
you were both right. The package line read
package Template;
Since I noticed my error just one minute after asking for help on the list, I tried to
send a followup, but - alas! - my provider's SMTP server denied connections for about
two hours.
Now I learned some more p
On Jan 26, 2004, at 2:45 PM, Jan Eden wrote:
Now I learned some more perlish behaviour: double colons are used for
both the namespace and the replicated directory structure.
actually, the double colons indicate a name space,
and IF the name space IS external, then it is
left to the File System Im
On Jan 26, 2004, at 8:38 AM, Jan Eden wrote:
[..]
The module sits in /Users/jan/Library/Scripts/Modules/Test. Now Perl
tells me it cannot locate the subroutine "choose". If I place
Template.pm directly into the path set in the "use lib" line and
remove the "Test::" at both places, everything wor
> my ($update_path, $gallery_title) = &Test::Template::choose();
Can I assume that your module has the line "package Test::Template;" at the
top of the file? If not, that is why.
> use Test::Template;
This says "load {lib directory}/Test/Template.pm.
> &Test::Template::choose();
This says "ex