projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix propagation of circular referencing D records
[spider.git]
/
perl
/
Bands.pm
diff --git
a/perl/Bands.pm
b/perl/Bands.pm
index 65849c9a5d0c3e732420e44eb175f7951930625b..9f44c09005d160851eed237cb4b2c893afdf5756 100644
(file)
--- a/
perl/Bands.pm
+++ b/
perl/Bands.pm
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
package Bands;
#
package Bands;
@@
-35,12
+35,6
@@
$bandsfn = "$main::data/bands.pl";
band => '0,BAND,parraypairs',
);
band => '0,BAND,parraypairs',
);
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
# load the band data
sub load
{
# load the band data
sub load
{
@@
-141,7
+135,6
@@
sub field_prompt
sub AUTOLOAD
{
no strict;
sub AUTOLOAD
{
no strict;
- my $self = shift;
my $name = $AUTOLOAD;
return if $name =~ /::DESTROY$/;
$name =~ s/^.*:://o;
my $name = $AUTOLOAD;
return if $name =~ /::DESTROY$/;
$name =~ s/^.*:://o;
@@
-149,9
+142,7
@@
sub AUTOLOAD
# this clever line of code creates a subroutine which takes over from autoload
# from OO Perl - Conway
*$AUTOLOAD = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}};
# this clever line of code creates a subroutine which takes over from autoload
# from OO Perl - Conway
*$AUTOLOAD = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}};
- &$AUTOLOAD($self, @_);
-# *{$AUTOLOAD} = sub {@_ > 1 ? $_[0]->{$name} = $_[1] : $_[0]->{$name}} ;
-# @_ ? $self->{$name} = shift : $self->{$name} ;
+ goto &$AUTOLOAD;
}
1;
}
1;