Skip to content

Commit

Permalink
@*INC isn't always set.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Dec 23, 2011
1 parent 6725641 commit 20ad8da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-names-vars/contextual.t
Expand Up @@ -71,7 +71,8 @@ nok foo().defined, 'contextual $*VAR is undefined';
}

#RT #63226
#?niecza todo
# Not every impl has an @*INC by default...
@*INC.push('not_a_directory');
{
package Foo { our sub run() { return @*INC } };
ok Foo::run().chars > 0;
Expand Down

0 comments on commit 20ad8da

Please sign in to comment.