Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#! /usr/bin/perl -sw use strict; use warnings; #use URI; use HTML::LinkExtor; local ($^I, @ARGV)=('.bak', glob("/data/loc/text/*.txt")); while (<>){ my $extor = HTML::LinkExtor->new(); next if (my @all_links=$extor->links); print; close ARGV if eof; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find and Remove Link
by blue_cowdawg (Monsignor) on Jul 21, 2003 at 20:21 UTC | |
by Anonymous Monk on Jul 21, 2003 at 21:12 UTC |