Without seeing the error output I can only think that its because you are using taint but are not then untainting the variables you read in.
ie:
# This var is not untainted
my $quote = $q->param("submitedquote");
I'd also read
Ovids tutorial. for more hints on CGI stuff.
Its also possible that you cannot open the file and your die statement has informed you of that. Take a look at your logs for more info.