Domanda

I have been using hard reference in perl. But was thinking in what way symbolic reference can be helpful to programmers.

           no strict "ref";
È stato utile?

Soluzione

Symbolic reference can "help" you to add bugs to your code. Read Why it's stupid to `use a variable as a variable name' or my own experience for reasons why not to use it.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top