Replying to my own message.

--On Wednesday, March 19, 2003 4:07 AM -0500 Joshua Juran <[EMAIL PROTECTED]> wrote:

my $script = <<EOS;
tweak FOO
EOS
$script =~ m/FOO/$passed_file/g;

The last line should be


$script =~ s/FOO/$passed_file/g;

It was late, I was tired, and I haven't hacked Perl in over a year. :-)

Thanks to Martin for spotting it.

Josh




Reply via email to