Click here to get back home

Installing DBI module on Solaris 8

 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
Installing DBI module on Solaris 8 naniwadekar 12-16-2004
Posted by naniwadekar on December 16, 2004, 5:28 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
Installing modules on Solaris in non-default location November 24, 2004, 5:32 am
Problems installing Test::Expect on Solaris June 19, 2007, 6:00 am
Unicode-related problem installing perl modules on Solaris 10 February 22, 2007, 11:21 am
module installing February 23, 2005, 9:30 pm
Problem installing module January 22, 2005, 4:12 pm
Installing DBI module on Windows XP January 31, 2005, 9:22 am
Problem installing SGI::FAM module December 15, 2005, 1:04 am
Installing Perl Module May 20, 2008, 10:54 am
Problems installing DBI module on perl August 9, 2004, 10:40 am
installing module to my own directory with MCPAN January 16, 2005, 5:50 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap