Using lexical filehandles will avoid those warnings.
#!/usr/bin/perl -w sub handle_error { if (open my $log, ">/dev/null") { carpout($log); } } print "hello world.\n";
In reply to Re: unnecessary warning message?
by thundergnat
in thread unnecessary warning message?
by argv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |