What was the internal server error?
If it's throwing an error because you add the or die statement, then there's a problem with your open. Most likely dealing with write permissions. Uncomment this line, and share the error with us:
#use CGI::Carp "fatalToBrowser";
In reply to Re^3: read write from a file
by wind
in thread read write from a file
by friar tux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |