Last active
June 2, 2019 12:38
-
-
Save kfly8/129b062df0ccebdfe6b455cd8498e51b to your computer and use it in GitHub Desktop.
This file contains 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
use warnings; | |
CHECK { | |
warn "CALL check" | |
} |
This file contains 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
use warnings; | |
BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x51\x55\x55\x55\x55\x55\x55"} | |
do './check.pl'; |
This file contains 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
use warnings; | |
no warnings qw(numeric); | |
do './numeric.pl'; | |
# Argument "2:" isn't numeric in addition (+) at ./numeric.pl line 3. | |
# 5 at ./numeric.pl line 4. |
This file contains 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
use warnings; | |
no warnings qw(void); | |
do './check.pl'; | |
# => Too late to run CHECK block at ./check.pl line 6. | |
This file contains 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
use warnings; | |
my $a = '2:' + 3; | |
warn $a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment