|P is for Practical|
I'm reading a book! It's given me more questons!by Petras (Friar)
|on Jul 28, 2005 at 10:17 UTC||Need Help??|
Petras has asked for the
wisdom of the Perl Monks concerning the following question:
In my, "I don't want to be a newbie anymore!" quest I've been going through the Llama book. It's taught me a lot! I understand what /^\\[d-m_](\w)*\s/i means now. That's a big change. I also understand that I'd probably never need *that* search....
Wasted time aside, there were a few things I ran into that don't do what I thought they should do. Can someone tell me why?
This first question has to do with code trying to write (1..9).0 seven times in a row; making a column heading, so to speak. This first bit doesn't work:
but this does:
yet they look like they should do the same thing. Why don't they?
The next bit of Why_Doesn't_it_do_It code is supposed to check for one of two strings, and make sure that it prints three times. Merlyn will probably recognize some of the arguments:
doesn't do what this does:
Yet to my don'tBeANewbieAnymore eyes it looks like the first code is basically the same as the second, if = means "=". Can someone tell me what's the real difference between the two bits of code?
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.