In article <mac-perl.3636297E.59E2@flash.net>, "Mark Manning/Muniz Eng." <markem@flash.net> wrote: >Ok, so after hours of aggravation I finally realized that somehow, >someway I'd managed to change all of the "$theReply .= <<END_HTML;" >stuff into "$addOn .= <<END_HTML;" statements. After changing them back >the program worked ok. > >Now, first off, I went back and forth between Linux and MacPerl on this >because it allowed me to trace the problem on two systems. So this >isn't just a MacPerl problem. But what I'm wondering about is why did >debug say the problem was at the top of the program when there really >wasn't a problem at all with the code? The problem was that I had a >different variable name used throughout the program and so the program >returned nothing. > >Any ideas? The thing is fixed and working properly, but I was wondering >if there is some sort of a reason why it did this. Thanks! :-) Just a tip: if you "use strict" then you will be warned about cases like this, when you try to use a variable that you didn't declare first. As you can see, it could save you a whole lot of debugging time. -- __________________________________________________________________________ Jeff Clites Online Editor http://www.MacTech.com/ online@MacTech.com MacTech Magazine __________________________________________________________________________ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch