in reply to Re: Unwanted interpolation in backquoted string
in thread Unwanted interpolation in backquoted string
sub getvalue { my ($file, $val) = @_; my $f = new IO::File $file, "r" or die "Can not open $file: $!"; my $matched = ''; while (<$f>) { $matched .= (split)[1] . "\n" if (/$val/); } return $matched; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Unwanted interpolation in backquoted string
by jdporter (Paladin) on May 04, 2004 at 22:11 UTC | |
|
Re: Re: Re: Unwanted interpolation in backquoted string
by Roger (Parson) on May 04, 2004 at 13:12 UTC |