File: F.pm

package info (click to toggle)
libparams-util-perl 0.30-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 264 kB
  • ctags: 114
  • sloc: perl: 2,027; makefile: 42
file content (24 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package F;

# This is a driver with a faked ->isa

use strict;

use vars qw{$VERSION};
BEGIN {
	$VERSION = '0.01';
}

sub isa {
	my $class = shift;
	my $parent = shift;
	if ( defined $parent and ! ref $parent and $parent eq 'A' ) {
		return !!1;
	} else {
		return !1;
	}
}

sub dummy { 1 }

1;