in reply to use warnings::unused don't work in perl 5.16.2.1 (32bits)

It's still available on BackPAN but its author has deprecated it in favour of Test::Vars.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
  • Comment on Re: use warnings::unused don't work in perl 5.16.2.1 (32bits)

Replies are listed 'Best First'.
Re^2: use warnings::unused don't work in perl 5.16.2.1 (32bits)
by gepebril69 (Scribe) on Feb 13, 2013 at 11:09 UTC

    Thx for the reply and time. Well if even the author prefers Test::Vars it must be a better choice than warnings::unused

    I will give it a try and after success will update my code.