Re: References

2014-05-14 Thread Ken Peng
Hi, perldoc perlref has a good description for your questions. http://perldoc.perl.org/perlref.html On Wed, May 14, 2014 at 1:31 PM, Mike Dunaway ekimduna...@gmail.com wrote: What's a good use of references? When is it ideal to use them? Why would you want to use them? -- To unsubscribe,

Re: References

2014-05-14 Thread Shaji Kalidasan
Dear Mike, There are many benefits of using references. One such advantage is when you pass two arrays to a subroutine. I will illustrate with an example which shows how you can pass two arrays to a subroutine. The first example explains passing arrays without references and the second example

Re: References

2014-05-14 Thread Shlomi Fish
Hi Mike, On Wed, 14 May 2014 00:31:56 -0500 Mike Dunaway ekimduna...@gmail.com wrote: What's a good use of references? When is it ideal to use them? Why would you want to use them? See the links from http://perl-begin.org/topics/references/ (*Note*: perl-begin.org is my domain). Regards,

Re: References

2014-05-14 Thread Sam
On 05/14/2014 12:31 AM, Mike Dunaway wrote: What's a good use of references? When is it ideal to use them? Why would you want to use them? I learned C before I learned perl. I think understanding it in C will also help:

Re: References

2014-05-14 Thread shawn wilson
On Wed, May 14, 2014 at 1:31 AM, Mike Dunaway ekimduna...@gmail.com wrote: What's a good use of references? When is it ideal to use them? Why would you want to use them? Maybe a better question is when *not* to use them. I try to keep things that don't need to be passed around or have multi