Yes, but you really want to use a hash.
my $something = 'a_key'; $message{ $something } = ' ... ';
In reply to Re: Variable name containing a variable
by diotalevi
in thread Variable name containing a variable
by jets80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |