HTTP-UA-Parser
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
script/ua_parser view on Meta::CPAN
sub help {
print "\nUSAGE\n";
print "=================================================\n\n";
print "% ua_parser -u\n";
print " Update regexes.yaml file \n\n";
print "% ua_parser -p \"some user agent\"\n";
print " Parses user agent and print back the results\n";
}
sub update {
print "Fetching Regex file from server...\n";
my $content = getFile();
my $PATH = HTTP::UA::Parser::Utils::getPath();
my $temp = $PATH.'/temp_regexes.yaml';
my $old = $PATH.'/regexes.yaml';
open my $file,'>',$temp or die "can't open create file tmp $!";
print $file $content;
close $file;
unlink $old;
rename $temp, $old;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.564 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )