in reply to Re: Extracting field from a line
in thread Extracting field from a line

I usually do this, which is much the same:
my $field5 = [split(/,/,$str)]->[4];