Click here to get back home

Does the executable generated from perlcc needs the library(.pm) files in the same place as compilation time

 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
Does the executable generated from perlcc needs the library(.pm) files in the same place as compilation time Ling 09-23-2004
Posted by Ling on September 23, 2004, 5: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
Can't compile (perlcc) both Net::FTP and Config::IniFiles at thesame time October 2, 2004, 4:32 pm
How to catch refs to nonexistent sub names at compilation time ? August 10, 2008, 3:20 am
Including executable files in a subdirectory May 9, 2007, 11:01 pm
If you are looking for a place to Buy and sell your used stuff and promote your small business..here is the place to go July 19, 2008, 3:55 am
Build libperl.so shared library from static library or source? February 9, 2007, 11:16 pm
Perl MakeMaker - how to force Perl linking with the static C library (libcrt.lib) instead of dynamic C library (msvcrt.lib) April 17, 2007, 5:20 pm
Help: Process many files at the same time September 29, 2008, 11:26 pm
Does perlcc work OK? February 3, 2005, 2:05 am
perlcc error March 4, 2005, 5:49 am
perlcc failing December 15, 2007, 7: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