Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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 -forc +e
Note the -force option which will reinstall the package if you already have it installed.

-- vek --

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520356]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-02-28 07:06 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (397 votes). Check out past polls.