bran4ever has asked for the wisdom of the Perl Monks concerning the following question:
i can add and remove an element from a file(the whole line)
however i am having some issues of add an element on third element of the array ($array [2]) for example in a text file "userlist.txt"
Username : Password : Download | Tom : 12345678 : Thomas : 12345678 : 121312313123131313
i tried to create a code that puts the counted bytes in the download section. I have logged in an account of TOM using http autho etc...and it counts the bytes and it wrote to Thomas account in download
just ask how to search for a specific string and modify that line..
many thanks
Edited by planetscape - added code tags and rudimentary formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding an element in existing file..
by Tanktalus (Canon) on Jun 04, 2006 at 02:12 UTC | |
by bran4ever (Novice) on Jun 04, 2006 at 02:35 UTC | |
|
Re: adding an element in existing file..
by bradcathey (Prior) on Jun 04, 2006 at 02:06 UTC | |
|
Re: adding an element in existing file..
by TedPride (Priest) on Jun 04, 2006 at 21:17 UTC |