At 8:13 AM -0500 10/29/97, David A. Barro wrote: > > #!perl > > use CGI; > &ReadParse(*input); > print "Content-type: text/html\n\n"; > $MyDate = `date`; > $fname = $input{'first'}; > $fnamelength = length $fname; > $lnamelength = length $input{'last'}; > > > # Undefined subroutine &main::ReadParse called. > File 'Columbia HD:WebSTAR 2.1:asgt1.cgi'; Line 4 > > I looked at the code in CGI.pm (as if I'd know what > it was doing) and I definitely found ReadParse in there. > Ah...my first suggestion would have been to look at the CGI.pm *docs* :-) Particularly at the section entitled "Migrating from cgi-lib" (which you're apparently doing -- if you intend to use CGI as Lincoln intended, then you need to start at the top of the docs :) Anyway -- you need to setup your script in *this* fashion: use CGI qw(:cgi-lib); ReadParse(); to use ReadParse(). Roger ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch