in reply to [untitled node, ID 182637]
Actually, what you are looking for is:
use CGI::Carp qw/fatalsToBrowser/;
Now that I've answered your question, let me say "don't use my answer!!!!" That does what you ask, but gives out way too much information. Potential crackers visiting your site might appreciate the extra info you are giving them. What you want to do is read your Web server's documentation on how to produce a custom error document. Keep it simple with something like "Service temporarily unavailable." That way, you let people know that this isn't permanent, but you also don't give away the keys to your house.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|