Click here to get back home

Webmin-firewall produces perl error after apt-get upgrade

 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
Webmin-firewall produces perl error after apt-get upgrade ponga 06-04-2005
Get Chitika Premium
Posted by ponga on June 4, 2005, 3:35 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
perl upgrade - make test error "Can't locate Config_heavy.pl" September 10, 2008, 7:47 pm
Upgrade perl from 5.8.6 to 5.8.8 - help with upgrade July 5, 2006, 5:49 am
Perl on WinXP: transliteration produces different results on different machines October 8, 2007, 2:43 pm
failed perl upgrade November 23, 2008, 1:48 am
upgrade perl without reinstalling all modules? January 22, 2005, 4:20 pm
Fail to upgrade all the packages of perl in Linux environment August 1, 2008, 7:59 pm
WWW::Search produces no output May 27, 2007, 8:50 am
'warn' produces additional output February 25, 2005, 4:08 pm
Perlis.dll produces text/plain July 18, 2006, 4:39 pm
Upgrade DBI question June 9, 2005, 11:37 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap