Symbolic Reference in PERL

What is the Use of Symbolic Reference in PERL?

Questions by sapam   answers by sapam

Showing Answers 1 - 3 of 3 Answers

imavasu

  • May 3rd, 2008
 

> $name = "bam";
> $$name = 1; # Sets $bam
> ${$name} = 2; # Sets $bam
> ${$name x 2} = 3; # Sets $bambam
> $name->[0] = 4; # Sets $bam[0]


symbolic reference means using a string as a reference.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions