%stream = ();
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;
+
+main::mkver($VERSION = q$Revision$);
# allocate a new stream for this request
sub newstream
my $key = uc shift;
my $value;
+ # massage the key
+ $key =~ s/[\@\$\&\%\*]+//g;
+ $key =~ s/^[\.\/]+//g;
+
# make sure we are open
$self->open;
if ($self->{localcmd}) {
# incoming DB Information
my $n = getstream($_[3]);
if ($n) {
- my $mchan = DXChannel->get($n->{call});
+ my $mchan = DXChannel::get($n->{call});
$mchan->send($_[2] . ":$_[4]") if $mchan;
}
}