I have a series of perl script that run an auction site which I have been maintaining and building over the last 10 years. Lately I have problems that I encounter and can't figure out solutions. It seems things work differently in the new browsers, or maybe my programming is off. I need some help.
Here is the problem currently at hand: When I recall a string in certain applications, the string gets cut off at the first space. For example, my search function, while it performs the search as it should, only returns the first word of the string, back to the search bar. Moat search bars do not do this and it can makes searching a bit cumbersome.
The string is cut off after the first space. If I enter a search with "two words", the search will work but only the word "two" will be returned back to the search field.
This also happens to the subject line of emails that the scripts send out. I have to put an underscore, instead of a space, between words. I would like to fix this programming fault but can't seem to figure it out on my own.
Can anyone point me in the right direction or offer some professional help?
Thanks for reading.
Mike
Last edited by mikahl13; 03-10-2010 at 12:04 PM.
It really shouldn't do that. You aren't using split anywhere or something?
Perl wouldn't split your string unless asked to, it must be somewhere in the code. Which functions are you using on the string near the modules that cause the problem? Posting some codebits that cause the issue would help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks