Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Write to existing file with character insert

by Anonymous Monk
on Oct 24, 2012 at 12:43 UTC ( [id://1000625]=note: print w/replies, xml ) Need Help??


in reply to Re: Write to existing file with character insert
in thread Write to existing file with character insert

Correct, but using the correct operator (substitution) is only the beginning :) See Re: perl -pi -e s'/^\s+//'g $file, Re^2: perl -pi -e s'/^\s+//'g $file, Re^3: perl -pi -e s'/^\s+//'g $file, Re^4: perl -pi -e s'/^\s+//'g $file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-03-28 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found