in reply to Re: assertions ? how do they work..
in thread assertions ? how do they work..

Devel::Assert seem nice... Carp::Assert requires "if DEBUG"

Replies are listed 'Best First'.
Re^3: assertions ? how do they work..
by tobyink (Canon) on Nov 24, 2013 at 22:29 UTC

    Carp::Assert has a hell of a lot less magic on the inside though.

    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
      Yep ... it was giving me errors.. when I use it after "use PDL"... I had to move it before PDL to make it work..