Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^7: Reg exp questions

by Happy-the-monk (Canon)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-07-20 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (439 votes). Check out past polls.

    Notices?