Comments (2)
I don't recall exactly why I made the decisions I did, but I recall having a lot of difficulty determining if the facilities that CPAN.pm provided let me know if the operation was successful and where the result ended up.
from cpanpm.
There's another issue that I remember. Whatever downloads things needs to be able to handle https?, ftp, and file schemes. The last is important for MiniCPAN. LWP used to be able to do all of those. HTTP::Tiny, which CPAN::HTTP::Client uses, can't.
And, in general, the separation of concerns in CPAN.pm code is poor. There's not a way to simply grab a file without giving in to all sorts of other machinery. If I want to use the CPAN.pm code to download a file, I have to accept many other things that are a bit onerous to avoid.
File::Fetch might be a good option though. It has only been in core since v5.10, so that pushes out 5.008. It's an improvement though.
from cpanpm.
Related Issues (20)
- Configure with only fresh mirrors HOT 5
- Failure to configure cpan: getaddrinfo(ucu.ac.ug,,AF_INET) failed - No address associated with hostname HOT 1
- first time setup on cygwin with strawberry also installed picks up wrong patch executable, leading to an endless loop
- Some questions about the proxy settings for cpan and cpanm.
- Add environment variable to customize .cpan path HOT 3
- Relative dir for local::lib doesn't work
- Not able to create local::lib with non-root user in docker container : fileparse(): need a valid pathname at /usr/share/perl/5.30/CPAN/FirstTime.pm HOT 1
- Can't locate local/lib.pm in @INC : Installation of `App::cpanminus` fails on Windows 11, WSL with Ubuntu 20.04 HOT 2
- the distroprefs "Filenames" chapter documenting "File path" and "Activating the feature" was a frustrating surprise
- RT-145462: cpan -O chokes on some version numbers
- RT-145462: cpan -g exits with the wrong value
- RT-145462: cpan -g does not handle paths, such as AUTHOR/Foo-1.0.tar.gz
- RT-145462: cpan -O version columns are too narrow to show full versions
- RT-145462: HTTP status code check in cpan is too inclusive
- RT-145462: cpan(1) log message uses the wrong key HOT 1
- [feature] Shell completion HOT 4
- Current key unsupported in FIPS mode
- fix INSTALLDIRS for newer PERL versions HOT 2
- Add support for static install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpanpm.