[Israel.pm] Using variables

Chanan Berler chananb at centerity.com
Tue Jan 6 07:33:20 PST 2009


Hello All,

I have the following prog:

my $digit = 1;
my $var1 = 100;
my $var2 = 200;

And I need to print $var1, $var2 - but using the $digit concatenated with
the word 'var'.
Can anyone help me? Suppose to be an easy task - but I got a blackout ..wow

Thanks
Chanan 




More information about the Perl mailing list