S
sulata
Hello
I am new to perl but have lot of experience in php. I have a question.
In one file I want to define a variable like;
#FILE NAME: variable.pl
$name = "Google";
And in the second file, I want to include this file and read the
variable like;
require('variable.php');
print $name;
This is what we do in PHP but does not seem to work in PERL. Can anuone
help?
I am new to perl but have lot of experience in php. I have a question.
In one file I want to define a variable like;
#FILE NAME: variable.pl
$name = "Google";
And in the second file, I want to include this file and read the
variable like;
require('variable.php');
print $name;
This is what we do in PHP but does not seem to work in PERL. Can anuone
help?