"crashes" is not very specific. If you're getting an INTERNAL SERVER ERROR, it probably means the script fails to compile. strict requires, amongst other things, all global variables to be explicitly declared. Failure to do so will cause a compilation error.
I have no knowledge of Excel, etc. but I suspect that what you're trying to do requires a substantially greater knowledge of Perl than you possess. If you intend learning the language, you'll need perl on your PC. Visit activestate.com
Hope this helps.
Kaled.