/[wait]/branches/unido/lib/WAIT/Table/Independent.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/unido/lib/WAIT/Table/Independent.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 106 - (show annotations)
Tue Jul 13 12:22:09 2004 UTC (19 years, 9 months ago) by dpavlin
File size: 799 byte(s)
Changes made by Andreas J. Koenig <andreas.koenig(at)anima.de> for Unido project

1 # -*- Mode: Cperl -*-
2 # Independent.pm --
3 # ITIID : $ITI$ $Header $__Header$
4 # Author : Ulrich Pfeifer
5 # Created On : Fri Sep 13 14:00:37 1996
6 # Last Modified By: Ulrich Pfeifer
7 # Last Modified On: Sun Nov 22 18:44:36 1998
8 # Language : CPerl
9 # Update Count : 5
10 # Status : Unknown, Use with caution!
11 #
12 # Copyright (c) 1996-1997, Ulrich Pfeifer
13 #
14
15 package WAIT::Table::Independent;
16 use vars qw(@ISA);
17
18 @ISA = qw(WAIT::Table);
19
20 sub fetch {
21 my $self = shift;
22 my $key = shift;
23 my $name = $self->{name};
24
25 my %tattr = $self->SUPER::fetch($key);
26 if (%tattr) {
27 $tattr{'_ee'} = "$name$key";
28 }
29 %tattr;
30 }
31
32 sub insert {
33 my $self = shift;
34 my $weight = shift;
35
36 $self->SUPER::insert(_weight => $weight, @_);
37 }
38

  ViewVC Help
Powered by ViewVC 1.1.26