File: SubExporterModule.pm

package info (click to toggle)
libnamespace-autoclean-perl 0.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: perl: 580; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
package SubExporterModule;

use Scalar::Util 'dualvar';
use namespace::autoclean -except => 'import';

use Sub::Exporter -setup => {
    exports => ['stuff'],
};

sub stuff { }

use constant CAN => [ qw(stuff import) ];
use constant CANT => [ qw(dualvar) ];
1;