foreach (@data) { s/AAA/EEE/gi; s/CCC/NEWWORD/gi; s/UUU/NEW/gi; s/ERD/IPK/gi; print DATA $_; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Substitute data issue
by merlyn
in thread Substitute data issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |