Perl Login Script
Lynn David Newton
plug-discuss@lists.plug.phoenix.az.us
Mon, 11 Feb 2002 19:18:39 -0700
Victor> Of course for a CGI you have to fake the
Victor> environment, but cgi.pm is very nice about
Victor> that: it prompts you for the CGI variables,
Victor> so you can enter:
Victor> dempwd=password
Victor> demid=user
A little trick I've used a bunch of times to simplify
that matter is to put dummy data in the parameter=value
format described above in an external file. Then you
can do:
cat thatfile | thescript.cgi
Saves a *bunch* of typing.
--
Lynn David Newton
Phoenix, AZ