Re: Perl 6

2016-01-05 Thread Ryan Schmidt

On Jan 5, 2016, at 5:52 AM, Carlo Tambuatco wrote:

> Will this work with perl_select…? My installation of perl_select has been a 
> bit flaky.

As far as I know, MacPorts does not contain anything called "perl_select".

We have "port select", but it does not handle perl; adding this feature is 
difficult. See https://trac.macports.org/ticket/29763


> I have perl5.22, 5.16 and 5.18 installed but I had to install a specific 
> variant of perl5 to get it to work with all those different perls. 

That is the currently correct method for selecting the desired perl version 
that should be symlinked at /opt/local/bin/perl and /opt/local/bin/perl5.


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Perl 6

2016-01-05 Thread Ryan Schmidt

On Jan 5, 2016, at 1:27 PM, Brandon Allbery wrote:
> On Tue, Jan 5, 2016 at 2:24 PM, Ryan Schmidt wrote:
>> As far as I know, MacPorts does not contain anything called "perl_select".
> 
> There is, actually, but it's a stub that doesn't do anything as yet (or 
> probably ever since it was subsequently decided to just move to a single Perl 
> release).

Ok, granted, there is a perl_select port, but there is no perl_select program.


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: Perl 6

2016-01-05 Thread Mojca Miklavec
On 5 January 2016 at 12:52, Carlo Tambuatco wrote:
> Will this work with perl_select…?

No. Or at least not yet.

Perl 6 is not even remotely compatible with Perl 5, so there is no way
to switch between the two versions of Perl to run the same script.

In the future it might be possible to provide multiple versions of
Perl 6 and switch between those (I'm not sure if we want that, but who
knows). We could talk about improvements of port select for perl 5,
but perl 6 is still relatively far from that.

> My installation of perl_select has been a bit flaky. I have perl5.22, 5.16 
> and 5.18 installed but I had to install a specific variant of perl5 to get it 
> to work with all those different perls.

You could file individual bug reports on Trac in cases when calling
perl5.18 doesn't do the job for you for example, even though "port
select" is not quite ready yet and we might use a different approach
completely. I'm not sure if implementing port select for perl is even
feasible.

Mojca
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Perl 6

2016-01-04 Thread Mojca Miklavec
This is just to let you know that we now have Perl 6 in MacPorts.

We don't ship any modules (modules are installed to ~/.perl6 with
'panda' – the equivalent of cpan).

You can install it with
sudo port install rakudo panda

and install modules with
panda install Task::Star

Feedback and (upstream) bug reports welcome. This is the initial
packaging and a relatively fresh public release of rakudo perl, so
problems are not unexpected.

Mojca
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev