Like
the doc said, the "dot thing" is covered in
RFC 222.
As for wanting to be able to say
$self.x1, I have to disagree, because it breaks the whole data-abstraction idea. Objects may very well be implemented with hash-refs 95% of the time, but
they need not be. An object may just as well be implemented through a
tie.
And saying
$self->{'x1'} is bad form, btw. Your class should provide accessor functions to object-variables. Never allow direct access. Or so the object-orientation fairies tell me...
[ ar0n ]