in reply to Re: perl command line prompts
in thread perl command line prompts
No matter what character is entered at the command prompt, the program replaces all of the matches. How can I fix this? Thanks.if ($answer == "y") { print $MOD $change; } else { print $MOD $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl command line prompts
by holli (Abbot) on May 16, 2005 at 20:23 UTC | |
by Transient (Hermit) on May 16, 2005 at 20:28 UTC | |
|
Re^3: perl command line prompts
by tlm (Prior) on May 16, 2005 at 21:17 UTC | |
by pccode (Novice) on May 16, 2005 at 21:22 UTC |