Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
aaa Anything with a "/" in it. Anthing beginning with a "[". Anything with the word "and".
My rookie script (with only the 'aaa' part working):aaa Name1/Name2 [output here etc word and word
foreach (keys %data) { next if (($_ eq 'aaa') || ($_ m/\[/) || ($_ m/\/) || $_ m/and/)); print "$_\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Req Expresson on my output
by BrowserUk (Patriarch) on Nov 14, 2002 at 16:37 UTC | |
Re: Req Expresson on my output
by Three (Pilgrim) on Nov 14, 2002 at 16:39 UTC | |
Re: Req Expresson on my output
by dingus (Friar) on Nov 14, 2002 at 16:43 UTC |