I have three different Perl programs. I want to access the value of a variable present in the first program in the other two Perl programs.
My first Perl program look like the following:
#!/usr/bin/perl
print "Content-Type: text/html; charset=utf-8
";
use CGI;
use Cwd;
use utf8;
$q=new CGI;
$a=$q->param('file');
#chomp($a);
my $ftpname="$a";
This program takes value from a text of HTML program. I need the value of the $ftpname variable in my other to Perl programs. How can I do that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…