There is nothing wrong with your script "as presented" so my guess is there are only two possible problems, and they are working in combination.
1. Path to perl might be wrong. #!/usr/bin/perl is standard, but some servers might need #!/usr/local/bin/perl or other path (rare, but possible.)
2. Generally, if the above condition is true, you *should* get a 500 Internal Server error. However, the white page tells me there is something astray with your server configuration that is not correctly handling CGI errors, hence, the white page. I have seen this and it makes scripts really hard to debug (given that they are working offline.)
A corollary possibility is that your server is just not executing your code. If CGI and perl support were not enabled, it would just display the script as a plain text file, so it's not that.
Are you executing this script in an area the server allows script execution? Example, many servers will only allow script execution from the cgi-bin. Try to run the script in the domain root and it will error, print the script as plain text, or . . . give you a white page. :-)
These should give you enough into to start figuring it out.