Click here to get back home

Problems installing DBI module on perl

 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
Problems installing DBI module on perl Pablo-UAM 08-09-2004
Posted by Pablo-UAM on August 9, 2004, 10:40 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
Problems Installing perl 5.8.7 November 9, 2005, 7:03 am
Problems Installing perl 5.8.7 November 9, 2005, 7:03 am
Installing Perl Module May 20, 2008, 10:54 am
Installing a perl module manually on windows March 17, 2008, 7:34 pm
Problems Installing 5.8.7 November 10, 2005, 6:54 am
Problems installing GD March 17, 2006, 9:00 am
Problems installing Unix::Syslog March 21, 2006, 10:21 am
Problems installing Test::Expect on Solaris June 19, 2007, 6:00 am
Problems of Perl program with Spreadsheet::ParseExcel module May 9, 2006, 1:15 pm
module installing February 23, 2005, 9:30 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap