Yours appears to overwrite $_, but that doesn't mean get() ordinarily destroys the object which calls it. Still, not localizing $_ is probably is a bug, if that's the source of the problem.
After Compline,
Zaxo
In reply to Re: CPAN.pm's ->get method destroys objects
by Zaxo
in thread CPAN.pm's ->get method destroys objects
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |