why not use eval()? First extract the name of the variable, then eval the string, and get the value of the string form that variable (you will need to no strict 'refs';).my $kt = q{BEGIN super foo};
In reply to Re: matching single-quoted-like strings (q{}, q//)
by dmitri
in thread matching single-quoted-like strings (q{}, q//)
by AltBlue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |