use strict; use warnings; my $line = "/dev/mapper/VGNEW1-Lv2 /volumes/VGNEW1/lvabc ext3 rw,grpquota,usrquota,acl 0 0"; my @items = split / /, $line; my @mount_options = split /,/, $items[3];