# this is in a loop that iterates through the file # and at some point it runs across: /(\S+)\s?=?\s?\[(.+)\]$/ && do { $hash{$1} = split /,/, $2; next; }; #### Use of implicit split to @_ is deprecated #### /(\S+)\s?=?\s?\[(.+)\]$/ && do { $hash{$1} = @{[ split /,/, $2 ]}; next; };