I read a file into an array like this:
open(HANDLE."<$filenamevar");
@arrayname = <HANDLE>;
close(HANDLE);
I need to search through the array for a certain string... I can do that no problem.
Then I need to insert new data after that without overwriting...
EXAMPLE:
an array with the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.