[PerlChina] 关于文件读写

itruncate truncatei at gmail.com
Mon Oct 20 01:24:57 PDT 2008


写个临时文件,然后再用临时文件替换原来的旧文件

2008/10/20 fei wang <ooizys at gmail.com>

> 我想打开一个文件插入些东西,但seek之后,会覆盖原来的字符,怎么办。是不是打开的方式不对导致的。
>
> --
> --
>
> ---------------
>> 礼!
>
>
> 王飞
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20081020/f3ea71c0/attachment.html>


More information about the China-pm mailing list