m1.install-party-p7/toto.pl
2009-09-23 11:40:41 +00:00

15 lines
245 B
Perl
Executable file

#!/usr/bin/perl -w
use strict;
use POSIX;
open (FH, "./photos-2005-04-23/index.html");
while(my $ligne=<FH>){
chomp($ligne);
my $truc = "";
if ($ligne =~ /href\s*?=\s*?(["'])(.*?)\1/){
$truc = $2;
print "TROUVE $truc\n";
}
}
close(FH);