Don't ask to ask, just ask | |
PerlMonks |
Search and replace help.by SouKenji (Novice) |
on Jul 10, 2011 at 21:02 UTC ( [id://913631]=perlquestion: print w/replies, xml ) | Need Help?? |
SouKenji has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks, I am trying to do a bit of search and replace and for the life of me, I cannot figure out what I am doing wrong. I have tried multiple iterations, ending with g, ge, r, re, but nothing seems to work. I always get the same output as my input. Here is my current code etc: $line= "F:\MF\BR\PreparedSources\acdv\test_dev\BeanName\SessionBean.RMWAppException.java"
Essentially, I want to take the text in $line and transform it to: JAVAFILE "test_dev\BeanName\SessionBean.RMWAppException.java" "acdv" "##All"
Back to
Seekers of Perl Wisdom
|
|