teddy6507 has asked for the wisdom of the Perl Monks concerning the following question:
current result
input source210
my code :Pin vcc aaaa bbbb Port Layer m2 ; END CCC DDD Port Layer m1 ; END EEE FFF Port Layer m0 ; END END vcc
if (/PIN vcc/../END vcc/) { if(/LAYER\s+m(\S+)/) { push(@num, $1); print "@num", ; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to capture the max value of the array
by haukex (Archbishop) on May 19, 2016 at 10:03 UTC | |
by teddy6507 (Initiate) on May 20, 2016 at 01:15 UTC | |
by AnomalousMonk (Archbishop) on May 20, 2016 at 05:46 UTC |