Anish Kumar K. [AKK], on Monday, January 31, 2005 at 19:41 (+0530) contributed this to our collective wisdom:
AKK> #!/usr/bin/perl use strict; use warnnings; #always put this at the top! AKK> use CGI; AKK> open (TXT, ">tmp.txt") || die "Can't create $file"; what is in $file ? :) AKK> print TXT"This is test"; print TXT "This is test"; should work, untested. -- ...m8s, cu l8r, Brano. [Scratch and Sniff-> XXXXXXXXXXXXXX Smells like glass, eh?] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>