Re: Compatability issue or just bad code

2002-07-25 Thread Ed Grimm
Disclaimer: I've never used Embperl 2; everything I know about it, I've gotten from reading this list. This is why I didn't remember this off-hand... and I could be somewhat off on the particulars. Ah, you're right. [+ +] blocks now have more strict requirements. You may get it working again

Re: Compatability issue or just bad code

2002-07-25 Thread Aaron Johnson
On Thu, 2002-07-25 at 10:21, Ed Grimm wrote: > Bad code. SELECTED should be quoted. As you have it here, perl > searches for a keyword SELECTED, and if it finds it, it uses whatever it > finds. Otherwise, it treats it as a string. You want it to always > treat it as a string. I tried it with

Re: Compatability issue or just bad code

2002-07-25 Thread Ed Grimm
Bad code. SELECTED should be quoted. As you have it here, perl searches for a keyword SELECTED, and if it finds it, it uses whatever it finds. Otherwise, it treats it as a string. You want it to always treat it as a string. Ed On 25 Jul 2002, Aaron Johnson wrote: > I was digging up some old