There's more than one way to do things | |
PerlMonks |
Re^3: Parsing output from a commandby Limbic~Region (Chancellor) |
on Mar 24, 2009 at 17:40 UTC ( [id://752928]=note: print w/replies, xml ) | Need Help?? |
BrowserUk,
Can you explain how it will screw up? I have subsequently tested it and it works as I expect it to. I did find that on my AIX, the output of the command isn't exactly the same as described by the OP - specifically there are two spaces before hdisk## but after accounting for that, it works as intended. Update: The modifications I made that may make the difference (as I said, it worked as expected) were as follows:
Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|