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

Re^2: Outputting search results to .txt file

by mkwilson (Initiate)
on Apr 05, 2012 at 13:17 UTC ( #963673=note: print w/replies, xml ) Need Help??


in reply to Re: Outputting search results to .txt file
in thread Outputting search results to .txt file

Thank you so much, stevieb, I see now how it works. I tried it with the open and close outside, also, but of course I needed print to have the right parameter.

One follow-up question: The results file now gives me the urls from the resume results, rather than the contents of the results. How do I get it to save what it on the page of each url?

And also, if you feel like it, is there a tutorial about the syntax for open and close you can point me to? The one that I read obviously showed using parentheses instead of the separate arguments.

  • Comment on Re^2: Outputting search results to .txt file

Replies are listed 'Best First'.
Re^3: Outputting search results to .txt file
by stevieb (Canon) on Apr 05, 2012 at 23:35 UTC

    When I get a chance later tonight, I'll fiddle with your code and see if I can get it to do what I believe you desire it do to.

    In the meantime, here is the document you requested:

    perldoc -f open

    Cheers,

    Steve

      Thanks, Steve.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2021-12-08 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?