On Jul 18, Jorge Goncalvez said:
>Hi , I have made a small installer program which is parsing a file and this
>file is growing, and I would like to make a perl Tk buton to empty all
>informations in this file my file is c:\cygwin_syslog.txt.
Use truncate().
truncate "c:/cygwin_syslog.txt", 0;
perldoc -f truncate
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734
** Manning Publications, Co, is publishing my Perl Regex book **
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]