View Single Post
Old 06-01-2018, 11:11 PM   #1
Pavan Techn
Registered User
 
Join Date: Mar 2018
Posts: 341
How to prevent file truncation in Perl?

Opening a file in write-only mode truncates data of the file. To prevent it, use sign '+>'. This will prevent your data and you can append new data in the last of the file.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Pavan Techn is offline   Reply With Quote