In old perl you can't be so specific, but in 5.6+ you can say:
{ no warnings 'newline'; -e "${dir}/foo" or mkdir "${dir}/foo"; }
After Compline,
Zaxo
In reply to Re: suppressing stat/newline warning
by Zaxo
in thread suppressing stat/newline warning
by superpete
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |