If you look closely, you'll see this isn't CGI code... just VERY dirty shell code. He probably got you fooled by that
line. Note that he's not printing any HTTP headers (which is kinda trivial for CGI scripts). I can only assume that there is actually an environment variable called
. A ++ for your comments on perlier code and your fixes on his referencing attempt tho :-)
... Quidquid perl dictum sit, altum viditur.