in reply to Re^2: Counting no of '>' symbol in a file
in thread Counting no of '>' symbol in a file

I have never seen '}{...' used instead of the END block suggested by the -n paragraph in perlrun. Is this an idiom that we can (or should) be using?
Bill
  • Comment on Re^3: Counting no of '>' symbol in a file

Replies are listed 'Best First'.
Re^4: Counting no of '>' symbol in a file
by choroba (Cardinal) on Aug 31, 2015 at 13:15 UTC
    See "Eskimo greeting" in perlsecret.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Thanks for reminding me of that great compilation. Sadly, the laughing joker operator ^@^ and the winged moon or fat bat constant ~@~ didn't make it to the list, despite naming and canonical usage issues being resolved. Ah well. :-/

      perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'