I've been running some CGI scripts without a server because there are times when it's not practical (i.e., testing). To run the above script, simply do:
Code:
simoncpu@soulfury:~$ export REQUEST_METHOD=POST
simoncpu@soulfury:~$ echo ".catalog=&.id=_fake_yahoo_item_&.code=_fake_yahoo_" | ./blah.pl
Status: 200
Content-Type: text/plain
Available: 69
The script simply reads stdin and environmental variables which can easily be set.
Istorya.net is a venue for sharing ideas, so I won't participate in your game of one-upmanship. Let's keep this thread on topic, shall we?