Cheers,for (<DATA>){ chomp; $case = $_ & ' ' x length; s/old/NEW/i; print $_ | $case. "\n"; } __DATA__ old_word OLD_WORD oLd_wOrd olD_worD
Jeroen
"We are not alone"(FZ)
In reply to Re: Substitute Question
by jeroenes
in thread Substitute Question
by RiotTown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |