sri@odyssey:~$ cat test.pl use strict; use vars '$rav'; $rav = 10; Test: { our $var = 20; print "var: $var\n"; } print "rav: $rav, var: $var\n"; sri@odyssey:~$ perl test.pl Variable "$var" is not imported at test.pl line 8. Global symbol "$var" requires explicit package name at test.pl line 8. Execution of test.pl aborted due to compilation errors.