Navigation Menu

Skip to content

Commit

Permalink
fix open pragma overriding explicit layers
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Jun 23, 2014
1 parent 5acb841 commit a38f545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Fatal.pm
Expand Up @@ -214,7 +214,7 @@ my %Retval_action = (
"CORE::open" => q{
# apply the open pragma from our caller
if( defined $retval ) {
if( defined $retval && !( @_ >= 3 && $_[1] =~ /:/ )) {
# Get the caller's hint hash
my $hints = (caller 0)[10];
Expand Down

0 comments on commit a38f545

Please sign in to comment.