Click here to get back home

incomplete module installation

 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
incomplete module installation mmccaws2 03-05-2007
Get Chitika Premium
Posted by mmccaws2 on March 5, 2007, 4:55 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
module installation February 16, 2008, 9:21 pm
module installation trouble February 11, 2005, 11:02 am
How do I specify @INC during CPAN module installation? December 5, 2006, 10:31 pm
New Perl installation can't find module April 11, 2005, 12:10 pm
Module Installation Problem: Prerequisite January 17, 2006, 11:22 pm
DB Module installation issue in Perl April 21, 2007, 7:28 pm
perl cgi session module installation problem. June 5, 2006, 9:31 am
query regarding perl module installation in local directory July 28, 2007, 4:08 pm
Problems locating C++ compiler / linker / make during installation of a module via CPAN June 20, 2005, 3:29 am
Sending an incomplete file? March 10, 2007, 1:05 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap