sir_com has asked for the wisdom of the Perl Monks concerning the following question:
Is there any legitimate difference between C pointers and referrence in perl? or it's like the term gets used interchangably. As per my understanding both stores address of something (array,hash or scalar).
going through the pdf Begining perl by Simon cozens, it says that "referrence in perl and pointers in C are not exactly same" but going through the link below says that both are same and you can use the terms pointer and reference interchangeably. http://www.bjnet.edu.cn/tech/book/perl/ch18.htm Is there really a difference exists?
Thanks, sir_com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: difference between pointer and referrence in perl
by GrandFather (Saint) on Aug 26, 2009 at 20:59 UTC | |
|
Re: difference between pointer and referrence in perl
by JavaFan (Canon) on Aug 26, 2009 at 21:13 UTC | |
by Anonymous Monk on Mar 30, 2014 at 07:41 UTC | |
|
Re: difference between pointer and referrence in perl
by Marshall (Canon) on Aug 26, 2009 at 22:45 UTC | |
by sir_com (Acolyte) on Aug 28, 2009 at 13:51 UTC | |
|
Re: difference between pointer and referrence in perl
by bv (Friar) on Aug 26, 2009 at 21:07 UTC | |
|
Re: difference between pointer and referrence in perl
by biohisham (Priest) on Aug 26, 2009 at 21:44 UTC |