Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: presentation perl

by wazoox (Prior)
on Jan 20, 2009 at 17:09 UTC ( [id://737619]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://737619]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-24 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found