in reply to Nonsense error from Perl
print $x{handle},"\n"; is valid to STDOUT
print {$x{handle}} $x{handle},"\n"; FILEHANDLE $x{handle} with value $x{handle}
I think the idea was to make the "normal", "usual" syntax as easy as possible, even if this caused some trouble in less common cases.
|
|---|