Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^7: Reg exp questions

by Happy-the-monk (Abbot)
on Nov 08, 2014 at 20:28 UTC ( #1106575=note: print w/replies, xml ) Need Help??


in reply to Re^6: Reg exp questions
in thread Reg exp questions

So finally, $str =~ s/\n/ /g; removes \n. Does it remove EOF, too?

removes \n ... replaces \n by a blank.

And no, it has no effect on the EOF character.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1106575]
help
Chatterbox?
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-12-14 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (414 votes). Check out past polls.

    Notices?