Click here to get back home

MSI file installation

 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
MSI file installation king 11-12-2006
Get Chitika Premium
Posted by king on November 12, 2006, 11:48 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
how to automate installation of a MSI file using perl November 14, 2006, 12:19 pm
PPM installation error - Couldn't open file c:\temp/modulename/ for writing January 3, 2006, 1:00 pm
Perl 5.8.8 installation help on AIX 5.1 May 25, 2006, 6:08 pm
Re: What's wrong with my installation September 2, 2006, 6:14 pm
module installation February 16, 2008, 9:21 pm
What's wrong with my installation September 2, 2006, 11:08 am
Apache2::ASP installation September 22, 2008, 9:50 pm
DBD::Pg installation under Vista November 22, 2008, 5:50 pm
Need help - Perl-5.8.5 installation error October 15, 2004, 10:25 am
module installation trouble February 11, 2005, 11:02 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap