Perl: the Markov chain saw | |
PerlMonks |
Re^2: How to dereference a FORMAT reference?by Jeffrey Kegler (Hermit) |
on Jun 24, 2009 at 00:52 UTC ( [id://774207]=note: print w/replies, xml ) | Need Help?? |
That's a very good idea, and one I hadn't thought of. But it's just half the problem. The solution requires that I know the typeglob slot. All I have is a reference and I don't know a general way of going from the reference to the typeglob slot. In fact, I can't see from the documentation any situation in which a format reference can be used for any purpose whatsover. (Unless you count taking its address and using that as a very low quality pseudo-random number generator as a "use".)
In Section
Seekers of Perl Wisdom
|
|