http://www.perlmonks.org?node_id=1075094


in reply to Re: XML::Simple and output
in thread XML::Simple and output

I think this is easier to memorize, if you write
print$fh "whatever you want to print";
so that it is optically a single "command word"...

Replies are listed 'Best First'.
Re^3: XML::Simple and output
by choroba (Cardinal) on Feb 16, 2014 at 20:14 UTC
    I still prefer
    print {$fh} "whatever";
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Yes, but you still have to "omit" the comma...
      OTOH, either way you have to remember it is a special case.