Click here to get back home

Hacking yahoo

 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
Hacking yahoo don 01-07-2008
Get Chitika Premium
Posted by don on January 7, 2008, 9:16 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
hacking,anti-hacking,registry tweaks,compter tricks September 25, 2007, 5:24 am
Perl LWP, logging into yahoo etc ? October 6, 2005, 12:19 pm
MIME::Parser and Yahoo... September 6, 2006, 1:22 pm
unable to get all html code on Yahoo December 27, 2005, 9:11 am
Interface with Yahoo /MSN messenger using Perl September 12, 2006, 2:37 am
www-search-yahoo prints no results June 8, 2007, 10:10 pm
Mail-Webmail-Yahoo-0.601 / yahootils.pl does not seem to work ? July 10, 2007, 4:17 pm
Yahoo finance quotes retrieval failing August 31, 2007, 3:22 am
reliability problem with Finance::QuoteHist::Yahoo July 12, 2008, 12:53 am
UTF-8 meta tags removed my yahoo/google mail January 11, 2007, 2:44 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap