in reply to Creating variables for each array member

It's possible, but you shouldn't. Use your digits as array indexes, instead.

my @num; for (1..10) { $num[$_] = $_; }

When you want lots and lots of automatically generated scalar variables, you nearly always really want a hash or an array, instead.

After Compline,
Zaxo