in reply to newbie parse Q
I don't know about a single best way, but here's a pretty good way:
my @var = $line =~ /([A-Z]+)/g;
UPDATE: no blazar and ikegami -- he wrote something along the lines of "grab the capitolized letters" BEFORE he changed his question.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: newbie parse Q
by ikegami (Patriarch) on May 11, 2006 at 22:36 UTC | |
|
Re^2: newbie parse Q
by blazar (Canon) on May 12, 2006 at 10:30 UTC |