sroy5 has asked for the wisdom of the Perl Monks concerning the following question:
The Outcome should be as Child(x,z).$_ = "Child(x,y)"; $To = "Child(x,z)"; I need to substitute the above as s/$_/$To/ print $_;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: substitution problem with ()
by ikegami (Patriarch) on Jun 12, 2007 at 16:39 UTC | |
by bart (Canon) on Jun 12, 2007 at 17:01 UTC | |
|
Re: substitution problem with ()
by shmem (Chancellor) on Jun 12, 2007 at 17:01 UTC | |
|
Re: substitution problem with ()
by thezip (Vicar) on Jun 12, 2007 at 16:46 UTC |