문제

can v download media contents and save it in a destination folder without using LWP module??

도움이 되었습니까?

해결책 2

Without knowing why you want to avoid LWP it is hard to help.

Coding an HTTP client is far from simple and a module of some sort or an external utility is pretty much essential.

I suggest HTTP::Client, HTTP::Lite or HTTP::Tiny, which are all stand-alone HTTP client modules that don't depend on LWP.

다른 팁

In Perl, there are many ways of doing that. Neil Bowers made an excellent survey CPAN modules for making HTTP requests; use it as a reference for your needs. In a nutshell:

HTTP flowchart
(source: neilb.org)

You could use commandline tools in linux to do this.

Check curl and wget documentation.

On windows you could install cygwin and use linux tools.

Regards,

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top