it will just pick up the first line in the file. Instead you want to either a) read the file into an array, or b) use LWP::Simple to get the page into a scalar i.e.use strict; my $input = "somefile.html"; open (INPUT, $input) || die; my $content = <INPUT>; close INPUT;
use strict; my $content = LWP::Simple::get($input);
In reply to Re: Matching problem
by elbow
in thread Matching problem
by rtlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |