|No such thing as a small change|
Deleting a row in a fileby suneel.reddy (Novice)
|on May 21, 2012 at 14:29 UTC||Need Help??|
suneel.reddy has asked for the
wisdom of the Perl Monks concerning the following question:
I need to Open a file - Read - apply logic and the delete the records of that file which doesn't satisfy my logic. I don't need one more file to be created with the matching records( b'coz this file is already output of the earlier logic ).
Can someone help me in solving this ? Is there any way to remove a record from that file same as we have SPLICE to manipulate arrays ?