in reply to
Anonymous Scalar Ref to Hash?
You can't add fields to a scalar; but you could use a wrapper class. The wrapper would hold the doc object as an attribute; and have an autoloader to delegate all method calls to that object. --Dave
Comment on
Re: Anonymous Scalar Ref to Hash?
In Section
Seekers of Perl Wisdom