Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: sed isn't working within a perl script

by nvivek (Vicar)
on Oct 19, 2012 at 10:39 UTC ( #999905=note: print w/replies, xml ) Need Help??


in reply to Re: sed isn't working within a perl script
in thread sed isn't working within a perl script

You're right. Thank you so much. I just doubled the backslashes used in grouping and referring grouped pattern. Then it worked properly. I got confused because I didn't get any error while executing that code.
  • Comment on Re^2: sed isn't working within a perl script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999905]
help
Chatterbox?
[RonW]: Is there an English language version of the site?
[LanX]: but Afaik Perl is on average about 10-20 times slower than C
[LanX]: no
[LanX]: but I could ask Herbert to elaborate
[1nickt]: http://rperl.org/ performance_benchm arks.html
[RonW]: 1nickt: Thanks. Looking at that

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-05-22 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?