Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Pimp My RegEx

by radiantmatrix (Parson)
on May 31, 2005 at 20:01 UTC ( #462196=note: print w/replies, xml ) Need Help??

in reply to Re^2: Pimp My RegEx
in thread Pimp My RegEx

They cringe when they see a complex regex and a "$/" will have them running to the camel book!

Add a comment?

local $/ = $my_input_sep; # Custom input separator (instead of \n)

Yoda would agree with Perl design: there is no try{}

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://462196]
[Wcool]: hi there
[Wcool]: Does anyone know how to assign STDOUT to a file var in perl6?
[choroba]: hey
[Wcool]: i.e. eequivalent of
[Wcool]: $fh_out = *STDOUT;
[davido]: (a late response) That is so true corion

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2017-03-23 15:49 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (289 votes). Check out past polls.