Thanks for the link.  That's exactly the explanation I was looking for...

I progressed quickly through the first Oreilly book (Learning Perl) but slowed down considerably in the 2nd (Intermediate Perl). I found the chapter on Subroutine References (7) more difficult than earlier material (my brain nearly exploded when reading the section "returning a subroutine from a subroutine") so I decided to stop and go back to basics until I achieve a better understanding. It didn't occur to me to open up the Advanced Perl Programming book (what I intended to read as my 3rd book)!

Rob Coops wrote:
 You are very right a really nice explanation of this you can find in
 the "Advanced Perl Programming" book by Oreilly see the link below

 http://oreilly.com/catalog/advperl/excerpt/ch01.html

 If you already went trough the other two then this is definitely a
 good one to read as it goes that extra step and provides you with a
 good insight of the underlying logic.

 On Fri, Mar 4, 2011 at 7:30 PM, Brian F. Yulga
 <byu...@langly.dyndns.org <mailto:byu...@langly.dyndns.org>> wrote:


 Rob Coops wrote:


 So you should now be able to retrieve the whole result set as a
 reference to an array containing references to arrays. And I hope
 that my ramblings explained a bit how you can use that reference to
 get to the underlying values. If you combine all of that I think
 you'll be able to work out the way to get your program to work the
 way you want it to.


 FWIW, I found your ramblings quite helpful, since I am working to get
 more comfortable with variables, arrays, and references, on my way to
 learning objects.

 Coming from a basic understanding of C, the reference variable
 concept sounds a lot like pointers in C.  But, my "Learning Perl" and
 "Intermediate Perl" books do not use that terminology.  Am I on a
 correct path to understanding by making this analogy?

 Thanks, Brian




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to