in reply to Re: Attempt to parse a line with odd characters is unsuccessful.
in thread Attempt to parse a line with odd characters is unsuccessful.

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 ];

Replies are listed 'Best First'.
Re^3: Attempt to parse a line with odd characters is unsuccessful.
by derby (Abbot) on Jul 22, 2011 at 01:43 UTC
    true ... true .. but there's no leading whitespace in the OP.
    -derby