Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: About $/

by Tux (Abbot)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035132]
help
Chatterbox?
[Corion]: Hmm - no, nothing jumps out immediately
Corion jumps into bed
[choroba]: On the indicated line, it uses (caller 1)10
[choroba]: (caller 1)[10] that is

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-09-25 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?