Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Tie *STDOUT, recursion errorby Superfox il Volpone (Sexton) |
on Apr 11, 2015 at 20:28 UTC ( [id://1123151]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|