Re: zef, zef-j, zef-m

2017-05-29 Thread Fernando Santagata
Thank you! On Mon, May 29, 2017 at 6:47 PM, Elizabeth Mattijsen wrote: > > > On 29 May 2017, at 17:33, Fernando Santagata > wrote: > > > > On Mon, May 29, 2017 at 12:20 PM, Brent Laabs wrote: > > > On 29 May 2017, at 11:22, Fernando Santagata < > nando.santag...@gmail.com> wrote: > > > > > > /

Re: zef, zef-j, zef-m

2017-05-29 Thread Elizabeth Mattijsen
> On 29 May 2017, at 17:33, Fernando Santagata > wrote: > > On Mon, May 29, 2017 at 12:20 PM, Brent Laabs wrote: > > On 29 May 2017, at 11:22, Fernando Santagata > > wrote: > > > > /me sighs: NQP is still so poorly documented! > > Believe it or not, this is documented in nqp/docs/ops.markdo

Re: zef, zef-j, zef-m

2017-05-29 Thread Fernando Santagata
On Mon, May 29, 2017 at 12:20 PM, Brent Laabs wrote: > > On 29 May 2017, at 11:22, Fernando Santagata >> wrote: >> > >> > /me sighs: NQP is still so poorly documented! >> > > Believe it or not, this is documented in nqp/docs/ops.markdown in the > section under stat. > That is not under https://

Re: zef, zef-j, zef-m

2017-05-29 Thread Brent Laabs
On Mon, May 29, 2017 at 2:25 AM, Elizabeth Mattijsen wrote: > Perhaps Zoffix is willing to take a PR for an IO::Path.nlinks method as > part of the IO grant. > > I think I'd rather have IO::Path.inode myself. Although, I did roll my own version in IO::Path::More. > > On 29 May 2017, at 11:22,

Re: zef, zef-j, zef-m

2017-05-29 Thread Elizabeth Mattijsen
Perhaps Zoffix is willing to take a PR for an IO::Path.nlinks method as part of the IO grant. > On 29 May 2017, at 11:22, Fernando Santagata > wrote: > > /me sighs: NQP is still so poorly documented! > > On Mon, May 29, 2017 at 11:10 AM, Brent Laabs wrote: > This works without a module on Ra

Re: zef, zef-j, zef-m

2017-05-29 Thread Fernando Santagata
/me sighs: NQP is still so poorly documented! On Mon, May 29, 2017 at 11:10 AM, Brent Laabs wrote: > This works without a module on Rakudo: > > use nqp; > my $path = "foo".IO; > my $hardlink-count = nqp::stat($path.absolute, nqp::const::STAT_PLATFORM_ > NLINKS); > > > > > On Mon, May 29, 2017 a

Re: zef, zef-j, zef-m

2017-05-29 Thread Brent Laabs
This works without a module on Rakudo: use nqp; my $path = "foo".IO; my $hardlink-count = nqp::stat($path.absolute, nqp::const::STAT_PLATFORM_NLINKS); On Mon, May 29, 2017 at 1:54 AM, Elizabeth Mattijsen wrote: > > On 29 May 2017, at 10:42, Fernando Santagata > wrote: > > > > The three fil

Re: zef, zef-j, zef-m

2017-05-29 Thread Elizabeth Mattijsen
> On 29 May 2017, at 10:42, Fernando Santagata > wrote: > > The three files are already hard-linked, no need for soft links. > > BTW, is there a way to detect hard links in Perl6? > Perl5 "stat" operator returns an array whose fourth element is the number of > hard links of a file, but I don't

Re: zef, zef-j, zef-m

2017-05-29 Thread Fernando Santagata
do/share/perl6/site/bin/ I > >> have 3 copies > >> of every script. One with a -j and one with a -m at the end just as for > >> zef: > >> > >> zef > >> zef-j > >> zef-m > >> > >> The files seem to be identical. > >> > >> Why are there 3 and what is their purpose? > >> > >> Gabor > >> > > > -- Fernando Santagata

Re: zef, zef-j, zef-m

2017-05-28 Thread Parrot Raiser
nd m for MoarVM. > > On 28 May 2017 2:42 pm, "Gabor Szabo" wrote: > >> Hi, >> >> I've just noticed that in /Applications/Rakudo/share/perl6/site/bin/ I >> have 3 copies >> of every script. One with a -j and one with a -m at the end just as for

Re: zef, zef-j, zef-m

2017-05-28 Thread Nelo Onyiah
I presume that's j for JVM and m for MoarVM. On 28 May 2017 2:42 pm, "Gabor Szabo" wrote: > Hi, > > I've just noticed that in /Applications/Rakudo/share/perl6/site/bin/ I > have 3 copies > of every script. One with a -j and one with a -m at the end just as

zef, zef-j, zef-m

2017-05-28 Thread Gabor Szabo
Hi, I've just noticed that in /Applications/Rakudo/share/perl6/site/bin/ I have 3 copies of every script. One with a -j and one with a -m at the end just as for zef: zef zef-j zef-m The files seem to be identical. Why are there 3 and what is their purpose? Gabor