+$W->{"project::Lib-init-hook"} just as ... post-My::Web-initialization hook.
authorlace <>
Thu, 29 Dec 2005 06:06:37 +0000 (06:06 +0000)
committerlace <>
Thu, 29 Dec 2005 06:06:37 +0000 (06:06 +0000)
project/Lib.pm

index 6ccc6e3..8586c6c 100644 (file)
@@ -196,6 +196,7 @@ my($class,%args)=@_;
                        %args,
                        "heading_novskip"=>1,
                        );
+       do { &{$_}() if $_; } for $W->{__PACKAGE__."-init-hook"};
        $class->heading();
        print $class->platforms($ListItem->{"platform"});
        $class->print_project($ListItem,%args);