in reply to Re: Passing variables
in thread Passing variables
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Passing variables
by Zaxo (Archbishop) on Sep 13, 2004 at 19:11 UTC | |
by intranetman (Acolyte) on Sep 15, 2004 at 19:32 UTC |