in reply to Pipe and extract
So to get "load average: 2.27" you need to parse the string stored in $arr[0] using a regular expression. See perlretut for more info on regular expressions.
Best, beth
Update: various clarifications
P.S. BTW - you did a nice job formatting your code this time!
|
|---|