Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by tobyink (Abbot)
on Feb 12, 2013 at 21:25 UTC ( #1018450=note: print w/ replies, xml ) Need Help??


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)
Re^2: use warnings::unused don't work in perl 5.16.2.1 (32bits)
by gepebril69 (Beadle) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-08-28 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls