[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] CGI Script Migration Problem



At 12:40 -0400 4/26/1999, Richard Gordon wrote:
>When the search fails, the search term is printed and it looks like 
>it's supposed to (i.e., it's not getting munged up). It doesn't 
>appear that anything bad happened to the copy of the text file that 
>is being searched on the Solaris machine and with single word 
>entries or multi-word entries that contain commas, it works fine. 
>The script is below and I would be really grateful to anyone who can 
>suggest what's going on here.

After spending most of the day poking at this, I finally figured out 
that the keys for 2 of the 3700+ entries had picked up leading html 
angle brackets somewhere along the line and the file was not 
perfectly sorted as a result. The entries with problems had nothing 
to do with the ones that I was searching for and missing. After 
fixing these two and resorting the file in BBEdit, the script works 
fine on Solaris, but I remain mystified that the same minor data 
munging was ignored by MacPerl, yet tripped up unix Perl.


Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto://maccgi@bellsouth.net
770.565.8267

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org