our @ISA=qw(My::Web Exporter);
-use constant ENTRIES =>top_dir()."/project/CVS/Entries";
-use constant ENTRIES_LOG=>top_dir()."/project/CVS/Entries.Log";
+sub ENTRIES { return top_dir()."/project/CVS/Entries"; }
+sub ENTRIES_LOG { return top_dir()."/project/CVS/Entries.Log"; }
sub print_project ($)
sub item_hash_read ()
{
my %dirs;
- for my $ENTRIES (ENTRIES,ENTRIES_LOG) {
+ for my $ENTRIES (ENTRIES(),ENTRIES_LOG()) {
local *E;
next if !open E,$ENTRIES;
while (<E>) {
my $cvs_id=(eval('$'.$package."::CVS_ID")
# || $package # debug
);
- print '<!-- $'.$cvs_id.'$ -->'."\n" if $cvs_id;
+ print '<!-- '.$package.' - $'.$cvs_id.'$ -->'."\n" if $cvs_id;
}
if ($W->{"heading"}) {