What the? I am _positive_ I'm running the same code that I posted. I promise, I copy-pasted. Maybe it has to do with the DOCTYPE tag? Hm.
What version of Perl are you running?
In regards to
foo not showing up in my output, that was just one of the side effects (affects?). The Quixote text was truncated and I would lose any inputs (hidden or otherwise) from the form that occur after the Quixote textarea.
Update: After being baffled by wfsp's reply, I've tried a few hundred things. I finally moved the two files (blank.html and spellchecker.pl) to a different domain on the same server. It worked! The exact same files with the same permissions worked! I noticed that mod_perl was not enabled for the domain (domain A) that the script worked, and it was on for the domain (domain B) that the script didn't work. I turned on mod_perl for domain A and the script stopped working! I got really excited and turned mod_perl off again... but then it still didn't work. I tried it a few times and sometimes it would work and sometimes it wouldn't. I know that's hard to believe. There must be some kind of user error here, right?
I thought it might be a browser issue, so I tried IE 6. It consistently doesn't work for IE 6.
If I saw this thread, I would think to myself that the person was screwing something up. I'm not saying that I'm not screwing something up, but it isn't as simple as calling the wrong script. I've copied this stuff over to an accessible location, in case someone wants to try it out.
And now it's working consistently. I have no idea what's going on. :(
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.