in reply to (bbfu) (proxy object) Re: tying tied hash scalars
in thread tying tied hash scalars
I am using my own ties and I tried several kinds of trickery in there. No luck.
It turns out, for this particual problem, I don't need this. I reanalyzed the design and found I was anticipating a need that will never really exist. But I'd still like to know the general approach here and what Perl is supposed to support. I like using ties but I've been caught before assuming I can do too much with them.
Somewhat related: For another package I'm considering, I'd also like to be able to tie a file handle more than once; i.e., provide multiple file handle filters without anyone knowing. The only approach I can see there is to somehow maintain a list of ties ... If anyone's done anything here I'd like to hear about your approach.
|
|---|