ps output is fixed field format
Well yes... until something unforeseen happens and one of the fields gets too wide. At which point the substr (or unpack - which might be more efficient) method breaks horribly :-/
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re^2: parsing variable input (perlre problem)
by davorg
in thread parsing variable input (perlre problem)
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |