FAQ

On Wed, Oct 13, 1999 at 02:10:07PM -0700, Chip Salzenberg wrote:
But then Tk will need a lot of work if XS is not going to be
compatible as it stresses XS now :-)
I see a thin thread of hope. Are the ties via references user-visible?
I am not sure what you mean, but I have seen tie used as

sub abc {

# ... code ...
tie $_[1], 'Package';
# ... code ...
}

and also

sub def {
my $ref = shift;

tie $$ref, 'Package';

# ... code ...
}

It is the latter of the two that I seem to remember being used
with some Tk modules. Normally to detect when the variable
was changed.

--
For myself I am an optimist--it does not seem to be much use being
anything else. -- Winston Churchill

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 13 of 24 | next ›
Discussion Overview
groupperl6-porters @
categoriesperl
postedOct 12, '99 at 8:32p
activeOct 18, '99 at 2:31a
posts24
users7
websiteperl6.org

People

Translate

site design / logo © 2019 Grokbase