This is not a solution to your immediate problem but might be a solution to your overarching problem. no stringification is a module that (fatally) prevents stringification of references.
In reply to Re: Can I ask Perl if an object will stringify?
by Corion
in thread Can I ask Perl if an object will stringify?
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |