# 1 my @array = split /pattern/, $file_content; shift @array; # 2 my ($dummy_var,@array) = split /pattern/, $file_content;