I load the config file in the main program using do,
<main.pl>
#!perl
do "conf";
use strict;
print "value of v is $vn";
------------------------------------
and the config file has only one line,
<conf>
$v = 'hello';
when I run the main.pl, it reports following error, how to fix this?
Global symbol "$v" requires explicit package name at main.pl line 4.
Execution of main.pl aborted due to compilation errors.