programmer.perl has asked for the wisdom of the Perl Monks concerning the following question:
!usr/bin/perl -w use LWP::UserAgent; $ua = LWP::UserAgent->new; $req = HTTP::Request->new(GET => 'http://anyrussiansite.ru/'); $req->authorization_basic('user', 'password'); $content_of_cpasar = $ua->request($req)->as_string; $content_of_cpasar =~ s/[\n\r]//g; print "Found ",$&,"\n" if $content_of_cpasar =~ //i;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RegEx: Detecting the certain cyrillic words
by daxim (Curate) on Mar 01, 2013 at 15:38 UTC | |
by programmer.perl (Beadle) on Mar 01, 2013 at 17:10 UTC | |
by choroba (Cardinal) on Mar 01, 2013 at 18:11 UTC | |
by programmer.perl (Beadle) on Mar 01, 2013 at 18:17 UTC | |
by choroba (Cardinal) on Mar 01, 2013 at 18:22 UTC | |
by programmer.perl (Beadle) on Mar 01, 2013 at 16:55 UTC |