|Keep It Simple, Stupid|
CGI will be with you, alwaysby BooK (Curate)
|on May 28, 2001 at 20:02 UTC||Need Help??|
This is not very much obfuscated, but on the other hand, it can adapt itself to your own configuration...
CGI was the biggest module I could find in the standard Perl distribution, so I could be sure it would have what I needed. chomp is used for portability reasons. I hope this work on Macs too.
Note: If someone can find a core module that hasn't changed in the last two or three years, I am very interested! :-)
Update: I tested the script on several installs, I now have 3 different lines for CGI version 2.56. I am afraid that CGI is quite different between platforms, installs and distributions... :-(
Other lines that might work for you:
2.46 11925;2386;31335;2119;23030;16931; 2.56 13142;2534;33055;2257;24535;18294; 2.56 13144;2536;33058;2259;24536;18296;
So If you don't get the expected result, remove the line corresponding to your CGI version.