Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Can someone elaborate as to why this isn't working

by vek (Prior)
on Jan 02, 2006 at 08:15 UTC ( #520356=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Can someone elaborate as to why this isn't working
in thread Can someone elaborate as to why this isn't working

coder45, taking a quick peek at the ppm commands yields the following results:

c:\>ppm help Type 'help command' for more detailed help on a command. Commands: describe - describes packages in detail exit - exits the program help - prints this screen, or help on 'command' install - installs packages profiles - manage PPM profiles properties - describes installed packages in detail q - exits the program query - queries installed packages quit - exits the program remove - uninstalls packages repository - adds, removes, or sets repositories s - searches for packages in a repository search - searches for packages in a repository settings - view or set PPM options targets - views or sets target installer backends tree - shows package dependency tree uninstall - uninstalls packages unset - view or set PPM options upgrade - shows availables upgrades for installed packages version - displays the PPM version (3.2) Extra Help Topics: (not commands) ppm_migration - guide for those familiar with PPM prompt - how to interpret the PPM prompt quickstart - a crash course in using PPM unicode - notes about unicode author names

So you may want to give the following a try:

c:\>ppm upgrade WWW::Search

Update: Hmm, that won't help you out because it will query the activeperl repository. To re-install from Randy's repository, try the following:

c:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/WWW-Search.ppd -forc +e
Note the -force option which will reinstall the package if you already have it installed.

-- vek --


Comment on Re^3: Can someone elaborate as to why this isn't working
Select or Download Code
Re^4: Can someone elaborate as to why this isn't working
by coder45 (Initiate) on Jan 02, 2006 at 14:34 UTC
    I did the force option and upgraded the packages but unfortunately still an empty url1.txt file
      Does the script print the results to the screen? And are you letting it run to completion? When I run it, it takes a while to complete, as there's a sleep() call in there to prevent the site from thinking you're a robot - if you abort too early, the file indeed may be empty due to buffering. Try getting, say, the first 5 results, and let it run to completion.
        No results are printed to the screen, the program simply compiles and moves to the comand line prompt after a few seconds, nothing is shown in the url1.txt file. I am out of ideas, I installed all the packages via ppm and as far as I can see everything is working ok, but no results on screen or file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-07-24 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls