$bar is not shared and <%= no strict 'vars'; defined $bar ? '' : 'not' %> defined Foo is <%= $foo %>