djcp3 has asked for the wisdom of the Perl Monks concerning the following question:
tie($myvariable, "MyObject"); package MyObject; sub TIEHASH { my ($title)=@_; #prints "$myvariable"; print get_tie_variable(); .... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing name of tied variable in tie constructor
by tobyink (Canon) on Jul 10, 2013 at 15:25 UTC | |
|
Re: Accessing name of tied variable in tie constructor
by Eily (Monsignor) on Jul 10, 2013 at 13:22 UTC | |
|
Re: Accessing name of tied variable in tie constructor
by daxim (Curate) on Jul 10, 2013 at 13:25 UTC | |
by tobyink (Canon) on Jul 10, 2013 at 15:04 UTC |