in reply to strip out lines until match
$string =~ s/\A\s+@QUERY/@QUERY/ [download]
$string = substr($string, index($string, '@QUERY')); [download]