- or download this
$string =~ s/\$(\w+)/ ${$1} /xeg;
- or download this
print " ----------------- " . $ref->{attribute} . "\n"
- or download this
my $string = $ref->{attribute};
my $output = eval $string;
...
die "problem with eval: $@";
}
print " ----------------- $output\n";