in reply to Array definition error
... while (my $pattern = <DATA>) { next if $pattern =~ /^\s*$/; ... [download]