how can i get a variable inside a package
example:
{ package example;
my $baz = "sometext";
sub new{
my $self = shift;
bless \$self;
}
}
my $foo = example->new;
how can I get the value of $baz i tried
print $foo->{vv};
print $foo::vv
and no luck
thanks