in reply to Re: Need help with s///
in thread Need help with s///
I decided a different approach:
I created a text file with the line $$NETOBJ.parameter in it. Then I changed my code to the following:
This code outputs parameter. It turns out that the way I was simulating reading text from a file was part of my problem.#!/usr/local/bin/perl open (F, "textfile") or die "Could not open file: $!"; $a = <F>; $a =~ s/\$\$NETOBJ\.//; print $a;
Humbly,
Tii
|
|---|