Re: Version of a Module

2017-07-04 Thread Lloyd Fournier
2017 um 14:16 schrieb Simon Proctor: > > See I'm using mi6 to generate my META6.json file from the report and it > picks the version up from the module file. Other options like that seem > sensible to me. > > Simon > > On Wed, 28 Jun 2017, 13:01 Martin Barth

Re: Version of a Module

2017-07-04 Thread Martin Barth
m the report and it picks the version up from the module file. Other options like that seem sensible to me. Simon On Wed, 28 Jun 2017, 13:01 Martin Barth, <mar...@senfdax.de <mailto:mar...@senfdax.de>> wrote: Hello, but your approach means you have to state the versi

Re: Version of a Module

2017-06-29 Thread Martin Barth
yap, when mi6 updates your META6.json this makes sense to me as well. This leads me to another question Can zef/perl6 handle differend modules version based on the suffix ':ve<0.0.1>' or based on the META6.json. I mean, could there be 2 scripts each using a different version of my

Re: Version of a Module

2017-06-28 Thread Elizabeth Mattijsen
> On 28 Jun 2017, at 14:01, Martin Barth wrote: > but your approach means you have to state the version in the META6.json AND > in the Module.pm6 file again. This would be the similar to having $VERSION in > perl5. Shouldnt there be a simpler way? Isn’t that info available

Re: Version of a Module

2017-06-28 Thread Simon Proctor
See I'm using mi6 to generate my META6.json file from the report and it picks the version up from the module file. Other options like that seem sensible to me. Simon On Wed, 28 Jun 2017, 13:01 Martin Barth, <mar...@senfdax.de> wrote: > Hello, > > but your approach means yo

Re: Version of a Module

2017-06-28 Thread Martin Barth
enfdax.de <mailto:mar...@senfdax.de>> wrote: Hello everyone, I wanted to repeat the question that I asked today on #perl6. I am looking for a way to retrieve the version of a Perl6-Module from within the module itself. there is often a our $VERSION in perl5 modules.

Re: Version of a Module

2017-06-28 Thread Fernando Santagata
:37 PM, Martin Barth <mar...@senfdax.de> wrote: > Hello everyone, > > I wanted to repeat the question that I asked today on #perl6. > I am looking for a way to retrieve the version of a Perl6-Module from > within the module itself. > > there is often a our $VERSIO

Re: Version of a Module

2017-06-27 Thread Lloyd Fournier
Martin Barth <mar...@senfdax.de> wrote: > Hello everyone, > > I wanted to repeat the question that I asked today on #perl6. > I am looking for a way to retrieve the version of a Perl6-Module from > within the module itself. > > there is often a our $VERSION in perl5 modules

Version of a Module

2017-06-27 Thread Martin Barth
Hello everyone, I wanted to repeat the question that I asked today on #perl6. I am looking for a way to retrieve the version of a Perl6-Module from within the module itself. there is often a our $VERSION in perl5 modules. is this still idiomatic/a good way to go in perl6 i think