[ create a new paste ] login | about

Link: http://codepad.org/cMI5ziMJ    [ raw code | fork ]

Perl, pasted on Jul 6:
lib/Foo.pm6

module Foo;

sub foo is export {
    say "Hello.";
}

class FooType { }
# class FooType is export { } # doesn't work either




FooUser.pl

#!/usr/bin/perl6

use v6;
use Foo;

foo;
Foo::FooType $f;


Create a new paste based on this one


Comments: