hi Mad Mac .... I think this will help you.
#! /usr/bin/perl use strict ; use warnings; my @days=qw(mon tues wed thurs fri sat sun); my @cols=qw(red orange yellow green blue indigo violet); foreach (@days ){ tr/e/E/; print "$_\n"; } foreach (@cols){ tr/e/E/; print "$_\n"; }
In reply to Re: Regex's and Multidimensional Arrays
by changma_ha
in thread Regex's and Multidimensional Arrays
by Mad_Mac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |