cheech has asked for the wisdom of the Perl Monks concerning the following question:
To start, I want to assign each of the (\d\d) values after "TMP" to a variable. I've tried my @temps = ($display =~ /\s+TMP\s+((\d\d)\s)+/s);, but this isn't working. Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex help
by ahmad (Hermit) on Feb 02, 2010 at 04:09 UTC | |
by cheech (Beadle) on Feb 02, 2010 at 04:16 UTC | |
by GrandFather (Saint) on Feb 03, 2010 at 19:45 UTC | |
|
Re: Regex help
by rkrieger (Friar) on Feb 02, 2010 at 08:50 UTC | |
|
Re: Regex help
by jwkrahn (Abbot) on Feb 02, 2010 at 04:51 UTC | |
|
Re: Regex help
by JavaFan (Canon) on Feb 02, 2010 at 08:36 UTC |