Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Active Perl Offline Package on Windows

by anshumangoyal (Scribe)
on Jul 31, 2012 at 07:50 UTC ( #984581=note: print w/ replies, xml ) Need Help??


in reply to Re: Active Perl Offline Package on Windows
in thread Active Perl Offline Package on Windows

I liked this solution, My PPM File Archive is:

http://ppm4.activestate.com/MSWin32-x86/5.12/1205/package.xml
When I open it any browser (Chrome/Mozill/IE) it hangs (Seems this is a big file). When I download this file (Using Download Manager), it is downloaded in some binary format. Please help me download this file. Else I cannot search my string as suggested by you.


Comment on Re^2: Active Perl Offline Package on Windows
Download Code
Re^3: Active Perl Offline Package on Windows
by Jenda (Abbot) on Jul 31, 2012 at 08:59 UTC

    Append ".gz" to the file and open with archiver of your choice. Seems the HTTP headers were not entirely right so the downloader did not decompress the data.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      Thanks it worked like a charm. Your help is deeply appreciated.
Re^3: Active Perl Offline Package on Windows
by cavac (Chaplain) on Jul 31, 2012 at 17:22 UTC

    As explained by others, you have to un-gzip it first. They use a Content-Encoding: x-gzip header which is not really RFC conform.

    But with the above mentioned approach, you can also download a complete copy of the ppm archive. With a little regex magic on the xml file(s) to correct the paths, you can go ahead and tell the (graphical) ppm interface "Hey, you know what, there's this new server called 'C:\myserver', check it out!".

    "I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2014-07-22 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (109 votes), past polls