Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Problem With Exporting subs from Modules

by GrandFather (Saint)
on Nov 29, 2014 at 09:46 UTC ( [id://1108715]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1108715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found