I then get an error message that says thefile.pl did not return a true value at foo.cgi line 10. Line 10 is the require 'thefile.pl' line.#in foo.cgi my $password = 'thesecret'; require 'thefile.pl'; my $encode = encrypto($password); #in thefile.pl sub encrypto($) { # encryption algorithm ... return $Finished; }
In reply to Re^2: Passing variables
by intranetman
in thread Passing variables
by intranetman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |