I am editing a large perl program which originally had a number of subroutines at the end. have put all the subroutines in Module. Modules seem to be called ok, but not after a ReadParse (cgi-lib).
Below is the relevant section of code:
#!/usr/bin/perl
#
use module_1;
&gregFunction;
&ReadParse(*input);
print "Content-type: text/html\n\n";
print "Got Here\n";
gregFunction is subroutine that prints my name (It works). The code doesn't print ' Got Here'.
Below is the relevant section of code:
#!/usr/bin/perl
#
use module_1;
&gregFunction;
&ReadParse(*input);
print "Content-type: text/html\n\n";
print "Got Here\n";
gregFunction is subroutine that prints my name (It works). The code doesn't print ' Got Here'.