in reply to Re^2: Problem With Exporting subs from Modules
in thread Problem With Exporting subs from Modules

Oh yes it was! But, you may not have put Test in a subdirectory two years ago. The STEVE:: bit is a path prefix to the the package file name. Perl searches its library path for ./STEVE/Text.pm. I picked up Perl around 2005 (5.8.8) and its been like that since then at least.

Perl is the programming world's equivalent of English

Replies are listed 'Best First'.
Re^4: Problem With Exporting subs from Modules
by tobyink (Canon) on Nov 29, 2014 at 21:07 UTC

    It's been like that since Perl 5.000 was released over 20 years ago.

Re^4: Problem With Exporting subs from Modules
by OnlyPerlWillDo (Initiate) on Nov 29, 2014 at 13:14 UTC
    I remember putting it in a subdirectory, but we were probably using a very old version of perl. At least five, but that was also RHEL, and I've had the problem with modules on every other system (BSD, ubuntu, centos) since.