borisz has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm confused by refs. How do $x and $y in the following example differ? I supposed they are equal, but there must be a difference.
my ( $x, $y ); $x = \12; $$y = 12;
Boris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do $x = \12 differ from $$y = 12 ?
by japhy (Canon) on May 10, 2005 at 12:58 UTC | |
by borisz (Canon) on May 10, 2005 at 13:12 UTC | |
by japhy (Canon) on May 10, 2005 at 13:15 UTC | |
Re: how do $x = \12 differ from $$y = 12 ?
by gellyfish (Monsignor) on May 10, 2005 at 13:03 UTC | |
Re: how do $x = \12 differ from $$y = 12 ?
by ikegami (Patriarch) on May 10, 2005 at 14:08 UTC | |
Re: how do $x = \12 differ from $$y = 12 ?
by Roy Johnson (Monsignor) on May 10, 2005 at 13:13 UTC | |
Re: how do $x = \12 differ from $$y = 12 ?
by dragonchild (Archbishop) on May 10, 2005 at 12:57 UTC | |
Re: how do $x = \12 differ from $$y = 12 ?
by runrig (Abbot) on May 11, 2005 at 16:19 UTC |
Back to
Seekers of Perl Wisdom