|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Manipulating a string in a tagged fileby Samy_rio (Vicar) |
| on Mar 12, 2007 at 11:00 UTC ( [id://604315]=note: print w/replies, xml ) | Need Help?? |
|
Hi rsriram, try like this,
Updated Typo error in your replacement statement. Use 'e' option modifier for execute the statement in the replacement part. See the documentation for further clarification perlre Regards, eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||