I'm trying to get the basic syntax down on creating and using a module. I've tried this and get an error:
# file 1: Bar.pm module Bar; sub foo($a, $b, $c) is export {} # file 2: doit.pl v6; use lib <.>; use Bar <foo>; my @t = foo(1, 2, 3); # in a shell $ perl6 doit.pl ===SORRY!=== Error while importing from 'Bar': no EXPORT sub, but you provided positional argument in the 'use' statement I've tried to digest the S11 synopsis on compilation units and I don't see any obvious problem. Ideas, please. Thanks. Best regards, -Tom