thank you... I was just reading about Grep vs. Loops :-) 

Thanks again!

Brian

-----Original Message-----
From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: keeping the file name while checking w/ LWP


Brian Volk wrote:
> I have a file that contains the file name and the url.  I need to
> separate the url so I can use LWP::Simple; to check the link,
> however, I need to keep the file name in tact so I can trace it
> back to my website.  Anyone have any suggestions?

Use map() together with split() to populate a hash.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to