On Dec 30, 6:45 am, [EMAIL PROTECTED] (Patmarbidon) wrote:
> Hello if you want to share variables content you might to use 'our'
> instead of 'my'.
Yes, that does it! Thank you!
>
> But I don't understand your example with 'use "file1.pl"'.
>
> I always use 'use module_name' and never 'use progra
Hello,
Could someone tell me if this is possible and if it is how I do it. I
have the following two file;
file1.pl
---
print "$testvar\n";
---
file2.pl
---
my $testvar = 37;
use "file1.pl";
---
If I run file2.pl (perl file2.pl) I will of course only see a newline.
But is it possible to export t