in reply to Re: Seeking guidance on getting better at Perl.
in thread Seeking guidance on getting better at Perl.
While the diagnostics pragma is a useful tool for debugging, particularly when you are learning Perl, I would recommend removing, or commenting out, the use diagnostics; line in production code.
Perhaps, as a general rule-of-thumb, consider doing this at the same time that you change
$DEBUG_MODE = 1;
to
$DEBUG_MODE = 0;
and for much the same reasons.
-- Ken
In Section
Seekers of Perl Wisdom