...and? Let's say you tried to log something undefined, so you passed it to your logging module. With "use warnings", you would see nothing; with "-w", you would get a message. Which do you prefer? (Or, perhaps, which is more "Modern"?) | [reply] [d/l] [select] |
Which do you prefer?
The version which respects encapsulation boundaries, of course.
With "use warnings", you would see nothing; with "-w", you would get a message.
Nope; my logging module uses warnings and reports only what's relevant.
| [reply] [d/l] [select] |
Okay, let's say you want to log undef as an empty string. Tragically, your "encapsulation boundaries" make this impossible. Oh, well.
| [reply] [d/l] |