Click here to get back home

Problems installing Test::Expect on Solaris

 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
Problems installing Test::Expect on Solaris Suk 06-19-2007
Get Chitika Premium
Posted by Suk on June 19, 2007, 6:00 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
Installing DBI module on Solaris 8 December 16, 2004, 5:28 am
Installing modules on Solaris in non-default location November 24, 2004, 5:32 am
Unicode-related problem installing perl modules on Solaris 10 February 22, 2007, 11:21 am
perl compile problems on solaris September 9, 2005, 8:30 am
problems while compiling perl on solaris 10 November 14, 2006, 4:40 am
Problem installing Apache::Test March 29, 2007, 9:10 pm
Probelm installing Test::WWW::Mechanize April 3, 2007, 5:07 pm
Problem installing Test::Base April 10, 2007, 3:48 pm
Problems Installing 5.8.7 November 10, 2005, 6:54 am
Problems installing GD March 17, 2006, 9:00 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap