Click here to get back home

HTTP::Request::Form - Can't submit a form with input type=image button

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
HTTP::Request::Form - Can't submit a form with input type=image button fochie 01-31-2005
Posted by fochie on January 31, 2005, 11:42 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
one submit button to call cgi script and process link in another form March 20, 2006, 11:07 pm
Re: How to submit an HTTP Request with XML March 11, 2008, 3:17 pm
how to fill out a form and submit?? August 10, 2005, 7:20 pm
submit the form concept November 17, 2005, 10:47 pm
Getting WWW::Mechanize to submit a form September 13, 2007, 11:58 am
Form submit with mechanize 0.72 February 23, 2008, 8:38 am
using LWP to POST data via "javascript:document.form.submit()" link January 3, 2006, 1:20 am
Form type input for the console November 9, 2007, 9:25 am
escaping special characters in a form input August 20, 2005, 11:09 am
Problem With WWW::Mechanize With July 14, 2005, 1:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap