/[cvs]/nfo/perl/libs/DesignPattern/Object.pm
ViewVC logotype

Contents of /nfo/perl/libs/DesignPattern/Object.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Dec 13 21:46:29 2002 UTC (21 years, 5 months ago) by joko
Branch: MAIN
+ initial check-in

1 ## --------------------------------------------------------------------------------
2 ## $Id$
3 ## --------------------------------------------------------------------------------
4 ## $Log$
5 ## --------------------------------------------------------------------------------
6
7
8 package DesignPattern::Object;
9
10 use strict;
11 use warnings;
12
13 sub _abstract_function {
14 my $self = shift;
15 my $self_classname = ref $self;
16 my $function_name = shift;
17 # was:
18 # $logger->error( __PACKAGE__ . ": function \"$fName\" is an abstract method, please implement it in \"$class\"");
19 # is:
20 die( __PACKAGE__ . ": Function '$function_name' is an abstract method, please implement it in '$self_classname'.");
21 #exit;
22 }
23
24 1;

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed