![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: header footerby gupr1980 (Acolyte) |
on Mar 05, 2014 at 13:22 UTC ( #1077078=note: print w/replies, xml ) | Need Help?? |
i tried testing this with the big file.
is not stripping off the HDR and the following 47 characters.It looks like the 47th character is on a newline and hence not working? If i do a s/^HDR.{10}//; as a test it strips off the HDR fine. i also tried s/^HDR.{47}//g; doesnt make a difference. ***************** Never mind, found it. s/^HDR.{47}//s did it. Thanks.
In Section
Seekers of Perl Wisdom
|
|