I have a question in assigning value to the array elements which inturn a scalar variable.
my $first = ''; my $second = ''; my $third = ''; my $fourth = ''; my $
+fifth = ''; my $sixth = '';
my @vars = ('$first', '$second', '$third', '$fourth', '$fifth', '$sixt
+h');
my @aarr = ('<chap', '<book', '<isb');
for (@aarr)
{
$vars[$i] = $_;
$i++;
}
print "$first\t$second\t$third\n";
Whether it is possible or not?
updated
Expected output:
<chap <book <isb
Regards,
Anniyan
(CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)