Skip to content

Instantly share code, notes, and snippets.

@snarkyboojum
Created January 10, 2011 00:18
Show Gist options
  • Save snarkyboojum/772170 to your computer and use it in GitHub Desktop.
Save snarkyboojum/772170 to your computer and use it in GitHub Desktop.
Including blib in $PERL6LIB for this particular module, causes it to freak out and nom memory
env PERL6LIB=/Users/adrian/Development/Perl6/perl6-facter/blib/lib:/Users/adrian/Development/Perl6/perl6-facter/lib: prove -v -e 'perl6' -r t/resolution-exec.t
Fails
env PERL6LIB=/Users/adrian/Development/Perl6/perl6-facter/lib:/Users/adrian/Development/Perl6/perl6-facter/blib/lib: prove -v -e 'perl6' -r t/resolution-exec.t
Works
# why would including the blib directory in $PERL6LIB cause perl6 process to consume huge amounts of RAM (until it is manually killed?)
Further to this,
Removing the compiled PIR version of Facter::Util::Resolution allows the test harness to "work" and continue.
But rebuilding it with:
env PERL6LIB=/Users/adrian/Development/Perl6/perl6-facter/blib/lib:/Users/adrian/Development/Perl6/perl6-facter/lib:/Users/adrian/Development/Perl6/ufo/lib:/Users/adrian/lib: perl6 --target=pir --output=blib/lib/Facter/Util/Resolution.pir lib/Facter/Util/Resolution.pm
Causes the error again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment