in reply to read(x,y,z)

On the page? Do you mean you're running a CGI script? In that case, use CGI::Carp 'fatalsToBrowser'; will help you see any errors that will otherwise onlyl show up in the server's logs. Be sure however to drop the 'fatalsToBrowser' option once you're script is actually running on the production server.

For a good intro to the topic of CGI scripts, see Ovid's excellent CGI course.

Makeshifts last the longest.