Yet another useless Perlscript …
… unless you like to watch Dragonball, Dragonball Z or Dragonball GT #!/usr/bin/perl use strict; use warnings; use LWP::Simple; my $src =...
View ArticleCount pages in PDF
with Perl. #!/usr/bin/perl use strict; use warnings; use PDF::API2; use File::Basename; if ((@ARGV) open($file) or die "Not a PDF."; }; if ($@) { printf("%-50s: not a PDF.\n", $file); return; }...
View ArticleExtract links using LibXML
Here’s a little example of the usage of perl’s XML::LibXML to extract links from a HTML page. #!/usr/bin/perl use strict; use warnings; use LWP::Simple; use XML::LibXML; my $url =...
View Article
More Pages to Explore .....