Click here to get back home

mod_perl 2.0 and apache 2.2 Undefined subroutine &ModPerl::ROOT::ModPerl::Registry error

 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
mod_perl 2.0 and apache 2.2 Undefined subroutine &ModPerl::ROOT::ModPerl::Registry error it_says_BALLS_on_your forehead 01-24-2006
Get Chitika Premium
Posted by it_says_BALLS_on_your forehead on January 24, 2006, 3:43 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
CPAN conflict issue - CGI.pm vs ModPerl::Registry September 25, 2006, 12:42 pm
modPerl, Apache, and REMOTE_USER November 25, 2006, 2:50 pm
Prototype mismatch under ModPerl::PerlRun September 6, 2005, 5:59 pm
modperl: HTML::Template not working inside handler February 25, 2008, 2:33 pm
Error "Undefined subroutine" & module references August 10, 2005, 9:23 am
cubic root subroutine February 19, 2005, 10:37 pm
starting apache with mod_perl, error on Apache.pm July 21, 2004, 5:26 pm
"Undefined subroutine" November 21, 2004, 8:48 pm
Undefined subroutine CGI::Vars July 26, 2004, 3:05 pm
Undefined subroutine &main January 19, 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