Click here to get back home

SOAP Http Client

 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
SOAP Http Client Paul Masquelier 10-01-2004
Posted by Paul Masquelier on October 1, 2004, 3:50 am
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
SOAP server & client problem November 8, 2007, 1:10 pm
SOAP server & client problem November 8, 2007, 3:05 pm
Perl server, SOAP and .NET client, how to communicate August 19, 2005, 3:26 pm
Setting up a SOAP client that is technically a server August 23, 2007, 6:04 am
SOAP::Lite and complex client call parameter July 20, 2006, 3:37 pm
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:26 pm
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:27 pm
SOAP::Lite example meets http server 500 error? February 6, 2006, 9:42 am
error sending string with "http://" with soap lite April 6, 2006, 4:39 am
Perl HTTP (non-java) IRC client October 5, 2004, 2:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap