Subject: | Perl 5.6 @INC hook is broken (overly sensitive to whitespace in fatpacked modules) |
An example script and module to reproduce this can be found here:
https://gist.github.com/tobyink/425e3ca9ae6591d499c1
Changing the definition of the xyz sub to this fixes it:
sub xyz {
shift() ? 666 : 999;
}
So it is whitespace dependent!