in reply to CGI Params in a scratch file for debugging

print "#!/usr/local/bin/perl\n";

But this not explain why require did't work without function call :-(