On Tue, 12 Nov 2002, Dave Hinton at home wrote:

> The documentation is at http://thereaction.co.uk/dah/Tie-Deref-man

I think that while you understand very well (and I mostly understand) 
what's going on here, the documentation does not communicate this 
information from you to me. I don't recognise many 'standard' idioms in 
it.

The documentation also never tells me what the module is actually meant to 
do!

You might be able to solve the blessed reference thing by using AUTOLOAD 
in the tied class or some dummy class which passes on the call but does 
not assign *$AUTOLOAD? Perhaps issue a warning since this would be slow. 
This also wouldn't fix ref() (this is why we use OOP, of course! 
$ob->ref()?)

Forgive me. Empty subclass test?

S.

-- 
Shevek
I am the Borg.

sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print"$x\n";eval
qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;&{$x}(\$x);};};}

foreach my $i (3..65535) { &{'2'}($i); }


Reply via email to