"my" variable $getextra masks earlier declaration in same scope at '/home/lj/htdocs/editjournal.bml' line 40.
Using a hash as a reference is deprecated at '/home/lj/htdocs/editjournal.bml' line 357.
Can't locate object method "is_sup_enabled" via package "LJ::SUP" (perhaps you forgot to load "LJ::SUP"?) at /home/lj/cgi-bin/weblib.pl line 2067. @
(
Read more... )
Comments 3
Something like:
#!/usr/bin/perl
use strict;
use warnings;
# stub LJ::SUP, because some stuff in the livejournal repo still expects it. :-(
package LJ::SUP;
sub is_sup_enabled { 0 }
1;
You should be able to ignore the other messages, although you're welcome to fix them and submit patches.
Reply
Reply
Probably better is to put it in a file of its own, like cgi-bin/LJ/SUP.pm (in your local repo or development area, so it doesn't get overwritten when you upgtade the livejournal code). Then you can pull it in from modperl_sub-local. That will make it available everywhere in your code.
Reply
Leave a comment