Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: can't locate auto/*/autosplit.ix in @INC

by siberia-man (Friar)
on Oct 20, 2019 at 13:47 UTC ( [id://11107721]=note: print w/replies, xml ) Need Help??


in reply to can't locate auto/*/autosplit.ix in @INC

I know this thread is old, and most probably the topic starter resolved his issue. A few minutes ago I've encountered the same issue trying some module downloaded from CPAN and unpacked locally. Assume the module has the name A::B::C and I put all its stuff in the local directory. The minimal test code is as follows. And, of course, I've got the issue.
perl -MA::B::C -e1
Quickly googling and learning what happens in AutoLoader.pm around the line mentioned in the error message, I was able to apply the workaround:
mkdir -p auto/A/B/C echo '1;' > auto/A/B/C/autosplit.ix
After this "patching" the following command works fine:
perl -MA::B::C -e1

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found