It looks like line 48 of /usr/bin/perl-info should be $pxs->print_err(...) - the "$pxs->" bit is missing.
I'm still trying to figure out what to set PORTDIR to, and how, mind you. From what it appears, portage doesn't require it, so I'm not sure why this does. Perhaps PortageXS should be reading /etc/make.globals first?
Steps to Reproduce:
1. Run perl-info --help
(I suspect that if you've configured PORTDIR however that's done, you need to unconfigure it - it's not needed by the python/shell scripts.)
[dmcbride@naboo ~]$ perl-info --help
perl-info version 0.16 - brought to you by the Gentoo perl-herd-maintainer ;-)
Distributed under the terms of the GPL-2
Can't locate object method "printColored" via package "PORTDIR not set or incorrect! Aborting..
" (perhaps you forgot to load "PORTDIR not set or incorrect! Aborting..
"?) at /usr/lib64/perl5/vendor_perl/5.12.2/PortageXS/UI/Console.pm line 51.
Not sure - but not that.
Now PORTDIR setting up straight in make.conf