Awesome!
That worked, although the lines were actually terminated by \r\n - my
superb observational skills at work again. Although I chomped each line,
that would have only removed the trailing \r (depending on the value of
$/, that is), and not the \n on the next line.
That had me stumped for ab
Len Walter wrote:
: Since the data is "string\n\rstring" I figured I could use split /^/ to
: separate out the individual strings. There's probably an easier way to do it
: though... the split seems to work correctly, and both @strings and %content
: get filled apparently ok.
Try splitting on
Hi all,
I'm trying to write a script to retrieve a list of URLs, search them for a
list of words and print the results. I wrote it first as a standalone script
and got it working, but when I converted it to a web page it no longer works
properly.
The data is typed into two TEXTAREAs, one url