monkeywithagun
Technical User
I'm new to cgi/perl, so this is a a rather simplistic question.
I am going to be writting data to an html file using CGI.
After declaring my varibles the code would be:
open(DAT,">$sitedata") || die("Cannot Open File");
print DAT "$sitename\|$siteurl\|$description\n";
close(DAT);
Is there a limit to the ammount of characters I can write at once? And if so, can I use more than one print statment in sucession, or do i have to close the file and then append it?
Thanks a bunch,
--Paolo
I am going to be writting data to an html file using CGI.
After declaring my varibles the code would be:
open(DAT,">$sitedata") || die("Cannot Open File");
print DAT "$sitename\|$siteurl\|$description\n";
close(DAT);
Is there a limit to the ammount of characters I can write at once? And if so, can I use more than one print statment in sucession, or do i have to close the file and then append it?
Thanks a bunch,
--Paolo