File: Demo_IMPORT.pm

package info (click to toggle)
libperl6-export-perl 0.009-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 108 kB
  • sloc: perl: 106; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package Demo_IMPORT;
use Perl6::Export;

IMPORT {
	use Data::Dumper 'Dumper';
	warn Dumper [ @_ ];
}

sub always is export(:MANDATORY) { "always heer" }

sub foo is export(:DEFAULT) { "foo heer" }

sub bar is export(:BAR) { "bar heer" }


1;