P is for Practical | |
PerlMonks |
Re^3: =~ matches non-existent symbolsby graff (Chancellor) |
on Nov 17, 2014 at 10:18 UTC ( [id://1107385]=note: print w/replies, xml ) | Need Help?? |
what if I need to do further manipulations with the data from the file later in the same program?
Presumably, the manipulation will depend on whether the file content is "good" or "bad" - in either case, just save a copy of $_ to some other variable after white-space removal but before removing "acgt"; then pass that copy to whatever function you write to do the manipulation (either good or bad).
In Section
Seekers of Perl Wisdom
|
|