in reply to Tie *STDOUT, recursion error

Interestingly, the following works:
print { $self->{handle} } $mask->($text);
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Tie *STDOUT, recursion error
by Superfox il Volpone (Sexton) on Apr 11, 2015 at 20:28 UTC
    hi choroba, shouldn't the two syntaxes be equivalent?! also, why is {$self->{"handle"}} and not *{$self->{"handle"}}. My understanding was that { } is used to deference a reference, such as ${ $ref_scalar }, so a sigil was required. But I am wrong as the above code example proves :/

    s.fox