|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
remove selected line from text file
Hello,
I got a script that has records per line and played several hours and still cant get it to remove a selected line from the text file. can anyone plaese help? Thank you in advance. |
|
#2
|
||||
|
||||
|
could you be a little bit more specific? what do you mean by 'records per line'? are you reading in a text file or something?
|
|
#3
|
|||
|
|||
|
yes I take the text file and split everything into a form for each line(record)
meaning that every record has its own add or delete from temp file. of coarse the add works greate but everthing I have tried for the delete either adds a new at the end {push} or deletes the wrong one pop I will try to get it for viewing so anyone can see it. |
|
#4
|
|||
|
|||
|
got it was way easier then thought.
|
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > remove selected line from text file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|