in reply to Re: presentation perl
in thread presentation perl

#!perl -n if(/RS/) { print }
Why all these curlies and parens? a simple
#!perl -n print if /RS/
is enough :)

Replies are listed 'Best First'.
Re^3: presentation perl
by grizzley (Chaplain) on Jan 21, 2009 at 07:40 UTC

    That's right :)

    I showed it on the first presentation, but it seems this reverse notation was little to much for people, who had first contact with Perl, so in the next ones I rewrote every line using curlies and parens.