my $foo = 'foo,bar,baz'; print +(split ',' => $foo)[2], $/; __output__ baz