in reply to I have a perl snippet. And I need help understanding it. Can you help answer these questions.
Here are some pointers:
It probably still doesn't make a ton of sense yet. You're going to need to read the following: shift, unpack, pack, perlpacktut, perlreftut, perldsc, and perlobj, at minimum, before it's going to start becoming clearer. That's several hours of reading material, which will probably need to be broken up into a couple of days. The information is quite dense, and may or may not help the light bulb of understanding to flick on.
A much gentler approach is available: It might be a really good idea to rush over to your local bookstore (or oreilly.com or amazon.com) and pick up a copy of Learning Perl (O'Reilly) and Intermediate Perl (O'Reilly). You'll spend a week or so with each book, and suddenly find yourself able to understand the code posted, as well as a great many other things Perl related.
ps. ikegami is right. StackOverflow is fine for questions that can be answered without a lot of deeper discussion. StackOverflow is not well suited to threaded discussions. When it comes to coaching a person along the learning process, the PerlMonks Monastery is a more flexible environment.
Dave
|
|---|