Click here to get back home

how to read user's IP adress with Perl?

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to read user's IP adress with Perl? Marthan 03-08-2008
Get Chitika Premium
Posted by Ted Zlatanov on March 10, 2008, 10:52 am
Please log in for more thread options

JWK> vikram wrote:
>>> how to read user's IP adress with Perl?
>>
>> (\d)\.(\d)\.(\d)\.(\d)
>>
>> represents the ipaddress.

JWK> 66.94.234.13 is a valid IP address which won't be matched by that pattern.

You should at least mention Regexp::Common if you're correcting an IP
address pattern. I know the original question was not about that, but
it's still better to make a useful reply than just to point out a
counter-example.

Ted

Similar ThreadsPosted
FAQ 9.19: How do I return the user's mail address? November 16, 2004, 12:03 pm
FAQ 9.19: How do I return the user's mail address? December 30, 2004, 12:03 am
FAQ 9.19 How do I return the user's mail address? March 24, 2005, 12:03 am
FAQ 9.19 How do I return the user's mail address? June 2, 2005, 11:03 pm
FAQ 9.19 How do I return the user's mail address? September 14, 2005, 4:03 pm
FAQ 9.19 How do I return the user's mail address? November 3, 2005, 11:03 pm
Reading another user's Outlook calendar? February 22, 2006, 4:28 pm
FAQ 9.19 How do I return the user's mail address? September 13, 2006, 3:03 am
FAQ 9.19 How do I return the user's mail address? April 2, 2007, 9:03 am
FAQ 9.19 How do I return the user's mail address? June 18, 2007, 3:03 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap