in reply to Access reference of a tied hash within TIEHASH

Hi,

I don't really understand your question.

With tie you make the tied object behave like a perl variable of choice. That means you are forced to implement the behaviour you want to achieve.

Can you explain what you want to do?

McA

Replies are listed 'Best First'.
Re^2: Access reference of a tied hash within TIEHASH
by djcp3 (Initiate) on Mar 18, 2013 at 22:14 UTC
    I need to access a reference to the hash being tied inside the TIEHASH function. For instance: tie %hash, $class; sub TIEHASH { my ($title)=@_; # need to access a ref %hash in some way from right here. }