Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Cgi-perl (http://siteownersforums.com/forumdisplay.php?f=13)
-   -   How to prevent file truncation in Perl? (http://siteownersforums.com/showthread.php?t=358872)

Pavan Techn 06-01-2018 11:11 PM

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.


All times are GMT -7. The time now is 07:27 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.