I want to split at each new line for the row, then split the row into columns, and get rid of the "%" on the third column.
$str = "
/var 0.99 50%
/usr 0.58 71%
/tmp 0.49 1% "
my @rows = map [split], split /\n/, $str; for (@rows) { $_->[2] =~ tr/%//d }
-- Steve
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>