choroba's answer should get you past your messages; this comment addresses your approach:
unless (open (QTREES, $file)) { print STDERR "WARNING: get_qtrees() can't open $file for filer $fi +ler!\n";
is unnecessarily verbose. In the first example, you could achieve the same end with:
unless (open (QTREES, $file) or warn "get_qtrees() can't open $file for filer $filer!\n");Similarly, in the second,
open (QTREES, $file) or warn "get_qtrees() can't open $file for filer $filer!\n";In reply to Re: unless vs. bare block
by ww
in thread unless vs. bare block
by chayashida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |