Umesh T G wrote:
> Hello List,
Hello,
> I am finding problem in generating a hash names. for eg.
>
> I have an array of elements. All elements should be converted into
> hash name and should get intialised.
>
> Say..
>
> @Arr = qw ('one', 'two');
>
> foreach $word (@Arr) {
> $name = $word."hash";
> Here I should intialise the hash.. like it should be %onehash = () ;
> }
> How to do it?
> I am stuck at this point. If there is a better way to do it, that will be
> fine.
>
> Thanks in advance,
perldoc -q "How can I use a variable as a variable name"
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>