Click here to get back home

Building DBD::Oracle with the new Oracle Express product.

 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
Building DBD::Oracle with the new Oracle Express product. ethandbrown 11-07-2005
Posted by ethandbrown on November 7, 2005, 12:19 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
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. October 14, 2005, 3:08 am
how to load a picture to an oracle database with the Load a pictureto Oracle with DBI perl module December 3, 2004, 3:37 pm
DBI , Oracle, Shutting down January 10, 2005, 8:44 pm
Oracle 10 perl and ppm September 23, 2005, 8:42 am
cgi DBI Oracle errors January 21, 2008, 6:32 am
Anyone with experience usging ADO for Oracle? March 28, 2005, 3:54 pm
Not able to connect to oracle db using DBI ( Activestate ) April 8, 2005, 7:02 am
Connecting to oracle from perl July 21, 2005, 11:57 pm
desc $table in DBI Oracle August 1, 2005, 12:27 pm
file not found in DBD::Oracle August 30, 2005, 9:21 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap