rgbcof
asked on
perl, loop through an array of strings, substitute character, and save it back to an array
my @fields = ('Larry', 'Curly', 'Moe');
I want loop through the fields, replace all 'r' with 'R', and save it back to the same array @fields.
I want loop through the fields, replace all 'r' with 'R', and save it back to the same array @fields.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER