in reply to Re: Re: File Find error
in thread File Find error
but even if you have localized $/ to be undefined, as suggested above, none of the steps carried out within the loop ever use the value of $line. Seems to me you have to pass $line as the arg to the $parser->$parse() call.while(my $line = <FH>)
Also, it might help to add some sanity checks; e.g.:
@links = $parser->links; if ( @links == 0 ) { warn "no links found in $name\n"; return; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: File Find error
by Anonymous Monk on Jun 24, 2003 at 21:21 UTC |