# ex my @drives; # you want an array foreach () { chomp; # don't use chop push(@drives, $_); } close(FSUTIL);