in reply to Re: Fun with Prototypes
in thread Fun with Prototypes

Isn't this sufficiently clear?

use constant DEBUG => 0; use Data::Dumper; # ... warn Dumper($myvar) if DEBUG;

Or PerX::Assert.

Replies are listed 'Best First'.
Re^3: Fun with Prototypes
by LanX (Saint) on Jul 22, 2017 at 22:28 UTC
    > Isn't this sufficiently clear?

    > ...

    > warn Dumper($myvar) if DEBUG;

    clear but unnecessarily verbose.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!