Welcome to the Monastery | |
PerlMonks |
Llama book appendix A ch12 - how in the world?by zerogeek (Monk) |
on May 12, 2006 at 11:38 UTC ( [id://548955]=perlquestion: print w/replies, xml ) | Need Help?? |
zerogeek has asked for the wisdom of the Perl Monks concerning the following question:
Let me begin by saying that I have been reading through the llama book and gaining vast amounts of knowledge. The book seems so logically laid out and I have had all my questions answered. Granted, some of the exercises have caused me quite a bit of thinking, but that is all part of the learning process and I accept that.
However... The 1st part was easy using rename, but I struggled with the 2nd half allowing for the directory. So, I checked the appendix for some guidance and find that the authors used File::Basename and File::Spec to solve this as well as questions 6,7, and 8. Am I the only one that has read this book and become confused by the use of modules in a solution 3 chapters before they are introduced for the 1st time??? Please forgive the rant (it's 0430 and I'm getting tired). I'll try this again in the morning WITHOUT the use of the modules. I guess I was just surprised at this particular solution being offered by the book.
Back to
Seekers of Perl Wisdom
|
|