Re: about dispatch tables
- From: steve@xxxxxxxxxx (Steve Bertrand)
- Date: Tue, 27 Apr 2010 19:45:47 -0400
On 2010.04.26 15:24, Harry Putnam wrote:
I hope some of you will go along with this approach.
I want to try to describe briefly what problem I'm having.
But not show any working code.
I've made so much of a mess trying a lot of different things I'd like
to have some idea that at least theoretically I'm on the right track
(or wrong track).
I guess where I get stuck is how to make a dispatch table where some
of the choices themselves may require more interaction.
[ my apologies if you receive duplicates. I've been in the process of
changing my subscription address to all of my lists, but I hadn't done
this one yet. I sent the first copy from the wrong addr ]
Also, (I've been away for a little while so I apologize if I missed any
references to this) Mark Dominus has very kindly provided his Higher
Order Perl book online for free (donations accepted on the site),
available via PDF download:
The book is so mentally twisting, that it will change the way you look
Most of it is still out of my grasp, but it will most certainly make you
think, and you will be able to take pieces from it each time you read
it, or refer to it.
You'd be interested in Chapter 2, but don't start there. Start from the
beginning, and work your way through. By far, my first time through, I
barely understood anything, but the farther I read, the more the small
things began to click.
Having a good understanding of references will certainly help, but even
if you are overwhelmed while reading, remember, you can always come
back. Not only that, it may enable you to try new things that will
expand your understanding of how to find what you are looking for, and
more importantly, where to look.
Dispatch tables are great, but I'm sensing that it may help you if you
get a briefing of recursion as well.
ps. still one of my very favourite quotes that I have ever read:
"I sometimes enjoy the mind-bending exercise of imagining the result of
memoizing the Unix fork() function." ...heh ;)
- about dispatch tables
- From: Harry Putnam
- about dispatch tables
- Prev by Date: Re: about dispatch tables
- Next by Date: Re: When to use anonymous references
- Previous by thread: Re: about dispatch tables
- Next by thread: File::Find and top level directory