develooper Front page | perl.perl6.users | Postings from November 2019

Re: FC31 can't find my module subs

Thread Previous | Thread Next
Tom Browder
November 4, 2019 10:28
Re: FC31 can't find my module subs
Message ID:
On Mon, Nov 4, 2019 at 02:25 JJ Merelo <> wrote:

> El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users (<
>>) escribió:
>> Problem still occurs with selinux disabled
One thing I noticed, you are missing a line at the top of your modules that
should read something like "unit module MyModule;", and the
export(:some-key) is okay.

But then, in the calling programs, use them something like this:

use lib </path/to/p6lib>;     # MyModule.pm6 is in this dir
use MyModule :some-key1, :some-key2; # note comma



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About