Código
#!usr/bin/perl #FinderText 0.2 #Coded by Doddy H head(); goodbye( $dir, $string ); copyright(); sub verificar { my ( $file, $text ) = @_; my $numero_linea = 0; my @words = <FILE>; close FILE; for my $linea (@words) { $numero_linea++; if ( $linea =~ /$text/ ) { } } } sub goodbye { close DIR; for (@archivos) { next if $_ eq "." or $_ eq ".."; my $fichero = $_[0] . "/" . $_; if ( -f $fichero ) { verificar( $fichero, $_[1] ); } if ( -d $fichero ) { &goodbye( $fichero, $_[1] ); } } } sub head { @@@@@ @ @ @@@@@ @ @ @ @ @ @ @ @ @ @ @ @@ @@@@ @@@ @@ @ @@@ @ @ @@ @@@@ @ @@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @@@@@ @ @ @@@@@ @@ @ @ @ @ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @@@@ @@@ @ @ @@@ @ @ @ ); } sub copyright { <stdin>; } # The End ?