in reply to Re: help with getting my perl script to run via web
in thread help with getting my perl script to run via web

I use this idiom in my scripts:
exit usage("Please specify ip address") unless $opt_i; exit usage("Please specify tftp server") unless $opt_s;
... and so on. usage is written so it returns 1 (typically).