File: 06-conflict.t

package info (click to toggle)
libfind-lib-perl 1.04-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: perl: 124; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
use strict;
use Test::More tests => 3;

## this is potentially conflicting with backward
## except that we're smart enough to detect it
use Find::Lib 'libs', '../mylib', 'mytestlib';
use MyLib a => 1, b => 42+42;

ok $MyLib::imported{'a'};
is $MyLib::imported{'b'}, 84;