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

Re: FC31 can't find my module subs

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
November 4, 2019 10:44
Subject:
Re: FC31 can't find my module subs
Message ID:
91a75c1d-3653-ca72-4aed-60fa86664120@zoho.com
On 11/4/19 2:28 AM, Tom Browder wrote:
> On Mon, Nov 4, 2019 at 02:25 JJ Merelo <jjmerelo@gmail.com 
> <mailto:jjmerelo@gmail.com>> wrote:
> 
> 
> 
>     El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users
>     (<perl6-users@perl.org <mailto:perl6-users@perl.org>>) 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;", 

My actual modules all have this

> 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

This is my favorite method as it is far easier to maintain

> 
> HTH,
> 
> -Tom

Hi Tom,

I tried it both ways.  No joy.  But twice everything
started working, but then died again.  What did Fedora
31 do?

Thank you for the help!
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About