★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum6/HTML/000031.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  Perl
  Need to open remote file

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Need to open remote file
curtdog
Junior Member
posted September 09, 1999 06:59 AM     Click Here to See the Profile for curtdog   Click Here to Email curtdog     Edit/Delete Message Reply w/Quote
I want to open a remote file and parse it for headlines then write result to a file that I can include in my webpage.

------------------
Christopher Curtis
C Double Web Development
http://c-double.com

Imo
Member
posted September 20, 1999 12:27 PM     Click Here to See the Profile for Imo   Click Here to Email Imo     Edit/Delete Message Reply w/Quote
Do you have access on the other machine? You could possibly (this is probably dodgy):

open(FH,"| rsh host.com cat filename");
@stuff = <FH>;
close(FH);

Or you could use the LWP module if you're grabbing it off another site. And then do what you want with it.

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.