Click here to get back home

Search Beta Test :secure login without Password

 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
Search Beta Test :secure login without Password Philippe Lumbroso 04-14-2005
Get Chitika Premium
Posted by Philippe Lumbroso on April 14, 2005, 3:53 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
secure login July 18, 2006, 12:46 pm
Password-protected login problem November 14, 2004, 2:58 pm
How to interactively sending the username/password to login using ssh October 25, 2007, 7:11 pm
The telnet login fails if the user has no password May 28, 2008, 10:30 pm
Re: download with HTML::FORM login and password on page April 28, 2008, 7:43 am
Redirecting to my own login page instead of Apache Login March 24, 2008, 12:22 am
beta testing March 5, 2005, 10:42 pm
Dao language 1.0 beta is release! November 20, 2006, 5:43 am
ANN: A new scripting language Tao 0.9.0 beta released! April 26, 2005, 9:41 am
Re ANN: A new scripting language Tao 0.9.0 beta released! April 27, 2005, 1:55 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap