I don't get this. Do i run it on the command line? I tried running the script but it just said "<offline: enter name=value pairs on standard input>" what do i do?
It should work from the command line, provided you have CGI.pm installed. Just run perl, paste the code in, then type in the appropriate EOF character. Alternatively, put the code in its own file with a valid shebang line at the top.