- or download this
# So, how to get $Foo::Str without soft ref?
- or download this
use strict;
package Foo;
...
print ${*{${$main::{$pack}}{$var}}{SCALAR}};
__END__
foo str
- or download this
use strict;
$Foo::str = 'foo str';
my $class = 'Foo';
my $value = eval "\$$class\::str";
print $value,$/;
- or download this
package Foo;
...
__END__
str: yup
bar: nope
- or download this
$\=$/;
use strict;
...
Internals::
warnings::
DB::