Click here to get back home

file not found in DBD::Oracle

 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
file not found in DBD::Oracle Perico el de los palotes 08-30-2005
Posted by Perico el de los palotes on August 30, 2005, 9:21 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
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
Building DBD::Oracle with the new Oracle Express product. November 7, 2005, 12:19 pm
Re: Rename File Using Strring Found in File? March 3, 2008, 11:08 pm
Re: Rename File Using Strring Found in File? March 4, 2008, 10:21 am
Re: Rename File Using Strring Found in File? March 6, 2008, 8:11 pm
Insert Log file into oracle table September 4, 2006, 6:04 am
FAQ 7.24: Why can't a method included in this same file be found? November 10, 2004, 12:03 pm
FAQ 7.24 Why can't a method included in this same file be found? March 5, 2005, 12:03 pm
FAQ 7.24 Why can't a method included in this same file be found? May 21, 2005, 11:03 pm
FAQ 7.24 Why can't a method included in this same file be found? August 6, 2005, 4:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap