How are you loading the .pl file, and what do you expect it to do? The usual thing would be something like this,
The phrasing 'pass data to the file' sounds like you are trying some other usage. You should look at scoping, particularly file scope, to see what data is shared with a loaded file.# in foo.cgi: my $password = 'thesecret'; require 'thefile.pl'; my $encoded = encrypto( $password );
After Compline,
Zaxo
In reply to Re: Passing variables
by Zaxo
in thread Passing variables
by intranetman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |