XP is just a number | |
PerlMonks |
Re^3: Replacing an entire line if a substring is foundby victorz22 (Sexton) |
on Apr 26, 2017 at 06:11 UTC ( [id://1188950]=note: print w/replies, xml ) | Need Help?? |
Thanks for the help but how would i set up that while statement to iterate through a scalar variable rather than a file handle? I have all my data stored in a scalar variable called $fileContent. So in other words how would i set up the while block using $fileContent rather than <DATA>
In Section
Seekers of Perl Wisdom
|
|