From: Nick L. <ni...@le...> - 2009-12-01 21:25:39
|
On Thu, Nov 19, 2009 at 05:48:15PM -0500, Daniel Ajoy wrote: > I'm using the textile2 module > > # Blosxom Plugin: textile2 -*- perl > -*- > # Author: Todd Larason (jt...@mo...) > # Version: 0+1i > # Blosxom Home/Docs/Licensing: http://www.raelity.org/blosxom > # Textile plugin Home/Docs/Licensing: > # > http://molelog.molehill.org/blox/Computers/Internet/Web/Blosxom/Plugins/Textile/ > > But it is generating a lot of lines in the error log, for each page request: > > Use of uninitialized value in pattern match (m//) at > /usr/lib/perl5/site_perl/5.8.8/Text/Textile.pm line 88. Hi, Sorry for not seeing your mail sooner. I don't remember if I had that problem with the original plugin. I think both textile plugin 0+1i and 0+2i say 0+1i at the top. 0.2i has a change as follows which looks like it : --- /etc/blosxom/plugins/textile2.0+1i_ 2003-07-27 16:57:41.000000000 +0100 +++ /etc/blosxom/plugins/textile2.0+2i_ 2006-01-07 05:39:22.000000000 +0000 my $c = { @@ -51,6 +51,8 @@ # image_rel_base relative image filenames relative to this sub blostile { + # modif : http://groups.yahoo.com/group/blosxom/message/4052 + local $_; my $str = shift @_; my $ctx = shift @_; if (!$textile) { In perl 5.10, line 88 of Text/Textile.pm is nearby to a regex match on $flavor and so are many of the other warnings you mention. I have a change in my own textile plugin which fixes a problem in setting $flavor. The diff is attached, it touches quite a lot else as I'm doing some cleanups to syntax as well, but might be useful to try out. Let me know if it helps and I'll add it to my plugin patch list at http://www.leverton.org/blosxom/Software/Projects/Blosxom/ ! Nick |