Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: About $/

by Tux (Monsignor)
on May 24, 2013 at 13:15 UTC ( #1035132=note: print w/ replies, xml ) Need Help??


in reply to Re^2: About $/
in thread About $/

No need for the second local $/ and the first can be made even more local:

my @splitted = do { local $/ = "\r"; map { split m/\003/ => $_, -1 } <>; };

Enjoy, Have FUN! H.Merijn


Comment on Re^3: About $/
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-07-04 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls