home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Using perl to access an HTML page

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2315
Discussions: 200,942, Posts: 2,379,294, Members: 246,305
Old July 26th, 2006, 06:37 PM   Digg it!   #1 (permalink)
Ultimate Member
 
FatalException's Avatar
 
Join Date: Jun 2004
Location: Indianapolis, Indiana
Posts: 1,398
Using perl to access an HTML page

A quick question that I can't seem to find an answer to on the web. I'm "fluent" in perl, but only for local scripting. I'm looking at using it for a few web-specific applications but can't figure out one of the most basic things. I would like to find a way to write a perl script that will open a remote web page, say http://www.microsoft.com/ and store the contents of the file returned in a standard array (with each line being a different element in the array). What is the appropriate way to do this in perl? Thanks.
__________________
Logic shall prevail.
FatalException is offline   Reply With Quote
Old July 26th, 2006, 10:51 PM     #2 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Look at libwww or HTTP::Request depending on your needs.
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old July 28th, 2006, 06:48 PM     #3 (permalink)
Ultimate Member
 
FatalException's Avatar
 
Join Date: Jun 2004
Location: Indianapolis, Indiana
Posts: 1,398
Cool

Thanks, I will take a look at those and post back on here if I figure it out. Hopefully I'll include the code, too.
FatalException is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
access 2k3 - data access page search function csamuels Webmastering and Programming 2 January 11th, 2005 03:14 PM
Parse error on plain HTML page peterwilkes Webmastering and Programming 5 June 10th, 2004 04:46 AM
Javascript: Rollover click loading an html page.. FreakyOCR Webmastering and Programming 15 April 2nd, 2004 11:00 AM
Access XP - Data Access Page problems bwcc Applications and Operating Systems 1 February 3rd, 2004 10:57 PM
HTML for opening a link in a new page? e980238 Webmastering and Programming 16 September 30th, 2002 04:38 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2918)
Hackers global warming emails (5)
windows 7 problem (7)
Wireless Televisions. (11)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (11)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
Wireless Televisions. (11)
Have you switched yet? (86)
Asus P4G8X Mobo (5)
screen resolution vs monitor size (2)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)


All times are GMT -4. The time now is 04:11 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28