IT Community - Software Programming, Web Development and Technical Support

What is the easiest way to download the contents of a URL with Perl?

This is a discussion on What is the easiest way to download the contents of a URL with Perl? within the Perl forums, part of the Software Development category; Hi, What is the easiest way to download the contents of a URL with Perl? Thanks sivaraman,...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Perl

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-20-2007, 09:46 AM
sivaramakrishnan sivaramakrishnan is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 74
sivaramakrishnan is on a distinguished road
Post What is the easiest way to download the contents of a URL with Perl?

Hi,

What is the easiest way to download the contents of a URL with Perl?

Thanks
sivaraman,
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2007, 04:38 AM
raj raj is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
raj is on a distinguished road
Default Re: What is the easiest way to download the contents of a URL with Perl?

hi,

this code working fine,

try this...


my $url = 'http://www.onlineshoes.com/landing.asp?type=brand&brandid=194&hpb=Jessica+Sim pson';
# Just an example: the URL for the most recent /Fresh Air/ show

use LWP::Simple;
my $content = get $url;

print $content;
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the most user-friendly, easiest software to use to create my own Web site? preet HTML, CSS and Javascript Coding Techniques 0 10-04-2007 02:38 AM
What's the easiest way to remove characters from the end of a string in php? oxygen PHP Programming 1 07-26-2007 02:53 AM
How to set Perl Interpreter within perl script sivaramakrishnan Perl 1 07-19-2007 06:45 AM
Download a file using Perl.. raj Perl 0 07-18-2007 03:45 AM
Which Graphics program would you say is easiest ? killerkev06 Web Design Help 8 04-05-2007 03:08 PM


All times are GMT -7. The time now is 09:32 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0