Disabling warnings

Hey! I ran into this at $WORK. I tried producing a decent unit test, but I couldn't manage to squeeze everything into one file.

Basically, with code like...

    # Foo.pm
    use strict;
    use warnings;
    package Foo;
    use YAML::Any;
    my $data = YAML::Any::Load("yarr: yarr\n");
    1;

you get the below warnings:

    $ perl -MFoo -wle 'print "meh"'
    Name "YAML::LoadCode" used only once: possible typo at /home/ad/nigelg/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/YAML/Any.pm line 77.
    Name "YAML::UseCode" used only once: possible typo at /home/ad/nigelg/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/YAML/Any.pm line 77.
    meh

This only happens with the -w flag enabled. Not a big thing, but I ran into it on our jenkins server and I had to monkey patch it to pass my builds.

Cheers!