Even if a pair of braces ain't exactly required, it's still better to include them, to make sure your intent is clear. If you wrote it as print Dump($myvar); you'd receive Undefined subroutine &main::Dump called at..., but written like this, the Dumper was treated as a filehandle.
Similar to this:
print STDERR "This is an error!\n";Jenda
1984 was supposed to be a warning,
not a manual!
In reply to Re: Perl doesn't give error when module is not found
by Jenda
in thread Perl doesn't give error when module is not found
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |