Minor nit, but a C-style for loop like that is really unnecessary here. You can do:
Or even more concisely:for $elem (@ARRAY) { $elem =~ s#find#replace#; }
s#find#replace# for @ARRAY;
In reply to Re^2: open file for read/write
by VSarkiss
in thread open file for read/write
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |