caelifer has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to find more information on the $pkg'var_name = 'foo'; construct. I understand that this is equivalent to $pkg::var_name = 'foo';, but where can I find more documentation for this syntax? Any pointers are welcome and appreciated.
- caeliferUPDATE:
Thanks a lot for your answers. I was working through some old scripts and this construct came up. Believe it or not, but I could not remember where I did see the explanation and the google search did not turn anything useful. This really drove me nuts for a while so I had to ask... :) Once again perlmonks came through for me. Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: single quote in package variable names
by Ovid (Cardinal) on Nov 14, 2006 at 18:06 UTC | |
by Fletch (Bishop) on Nov 14, 2006 at 18:20 UTC | |
|
Re: single quote in package variable names
by bart (Canon) on Nov 14, 2006 at 18:05 UTC | |
|
Re: single quote in package variable names
by VSarkiss (Monsignor) on Nov 14, 2006 at 22:27 UTC |