I often use print STDERR ... for debugging. (Yes, I know, I'm a unique snowflake that way.)
Would it be safe to ..
$DEBUG and warn "Well then, please note that..\n";
instead of
$DEBUG and print STDERR "Well then, please note that..\n";
Would this be ok? Or is gratuitous usage of warn going to potentially leave a trail of muck on the system- and somehow that matters? Maybe there's some other reason not to use warn for debugging reasons?
In reply to using warn instead or print STDERR? by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |