![]() |
Perl experts ? Here is another one...
I am slowly learning Perl... I can't figure out this one :
This link : http://www.maxmind.com/app/ccv2r?i=2...CENSE_KEY_HERE Returns a response on a webpage. A blank webpage with a string printed on the top of the page. It doesn't return a string.... It returns a webpage with a string printed on it. Something like this : distance=10;countryMatch=no;countryCode=US;freeMail=no; etc etc... Now... What lines can pick up the answer of...let's say countryMatch ? ( On my example, the answer is "no" ) How can I pick up the answer of countryMatch and print it on my screen ? :question Thanks ! |
Code:
if (/countryMatch=([^;]+)/) { |
well, something like:
Code:
#!/usr/bin/perl |
|
Quote:
Awesome ! :bowdown Thanks a lot ! :thumbsup |
always happy when something works ;-)
|
All times are GMT -7. The time now is 02:43 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123