splitting on whitespace and taking the third value should work.
my $value = (split( /\s+/, $a1[0] ))[2]
Unless there is leading whitespce. This will work in either case:
my $value = ( split ' ', $a1[ 0 ] )[ 2 ];
In reply to Re^2: Attempt to parse a line with odd characters is unsuccessful.
by jwkrahn
in thread Attempt to parse a line with odd characters is unsuccessful.
by trailhounds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |