tie($myvariable, "MyObject"); package MyObject; sub TIEHASH { my ($title)=@_; #prints "$myvariable"; print get_tie_variable(); .... }
In reply to Accessing name of tied variable in tie constructor by djcp3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |