madM has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I was wondering if there is any options to define the variable name of for example a string when the script runs. For example something like this

$number =1;
$name.$number= 'hey';

so the variable with the string 'hey' would be $name1

is this or something similar possible
i appreaciate your answers