File: Demo_Export.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 (15 lines) | stat: -rwxr-xr-x 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package Demo_Export;
use Perl6::Export;

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

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

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

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

1;