Created
March 19, 2015 19:38
-
-
Save dagolden/87decf0b33fafe24c99f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use v5.10; | |
use strict; | |
use warnings; | |
package Bar; | |
use warnings::register; | |
sub hello { | |
warnings::warnif( "problem" ); | |
print "Hello\n"; | |
} | |
package Foo; | |
sub foo_hi { Bar::hello() } | |
package Baz; | |
use warnings FATAL => 'all'; | |
sub baz_hi { Foo::foo_hi } | |
package main; | |
Baz::baz_hi(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment