Hello monks,
I need assistance with a small problem.
How do I use a variable in a hash title when assigning key pairs?
I want to create 100+ hashes named like %hashname21, I have an incrementing value $countit for the numeric value needed in the hash title.
%hashname."$countit" = (FILE,$file);
gives me the error:
Can't modify concatenation (.) in scalar assignment at yourscript.pl
line 282, near ");"