Click here to get back home

Perl MakeMaker - how to force Perl linking with the static C library (libcrt.lib) instead of dynamic C library (msvcrt.lib)

 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
Perl MakeMaker - how to force Perl linking with the static C library (libcrt.lib) instead of dynamic C library (msvcrt.lib) Avi 04-17-2007
Get Chitika Premium
Posted by Avi on April 17, 2007, 5:20 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
Build libperl.so shared library from static library or source? February 9, 2007, 11:16 pm
Finding out whether perl was compiled using dynamic / static linking May 24, 2005, 5:29 am
How to load a dll (dynamic link library) in Tcl? July 30, 2007, 5:54 pm
help perl & artnet (dmx) example / library? May 19, 2008, 11:02 am
Pure Perl OpenSSL Library February 25, 2005, 3:41 pm
Calling a 32 bit Library from 64 bit perl extension September 24, 2007, 1:01 pm
perl dumps core on AIX when loading external library February 13, 2006, 11:31 am
Howto Install a Perl Wrapper Module for a C Library Locally March 22, 2006, 4:47 am
use library February 10, 2006, 10:35 am
Is GD library independent? August 16, 2004, 7:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap