File: package.t

package info (click to toggle)
libspiffy-perl 0.21-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 256 kB
  • ctags: 99
  • sloc: perl: 1,067; makefile: 50
file content (13 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
use lib 'lib';
use strict;
use warnings;
use Test::More tests => 4;

package Foo;
use Spiffy -base => -package => 'Bar';

package main;
ok(not Foo->is_spiffy);
ok(Bar->is_spiffy);
ok(not defined &Foo::field);
ok(defined &Bar::field);