Re: I can't 'zef uninstall' old versions of modules anymore

2022-08-09 Thread Elizabeth Mattijsen
> On 9 Aug 2022, at 15:10, Fernando Santagata wrote: > > On Tue, Aug 9, 2022 at 2:13 PM Elizabeth Mattijsen wrote: > > On 9 Aug 2022, at 13:53, Fernando Santagata > > wrote: > > > > Hello, > > > > I'm trying to uninstall old versions of

Re: I can't 'zef uninstall' old versions of modules anymore

2022-08-09 Thread Fernando Santagata
On Tue, Aug 9, 2022 at 2:13 PM Elizabeth Mattijsen wrote: > > On 9 Aug 2022, at 13:53, Fernando Santagata > wrote: > > > > Hello, > > > > I'm trying to uninstall old versions of some modules; it looks like it's > working but in reality it isn't. For e

Re: I can't 'zef uninstall' old versions of modules anymore

2022-08-09 Thread Elizabeth Mattijsen
> On 9 Aug 2022, at 13:53, Fernando Santagata wrote: > > Hello, > > I'm trying to uninstall old versions of some modules; it looks like it's > working but in reality it isn't. For example, but it's not limited to just > this module: > > $ zef list --installed|grep

I can't 'zef uninstall' old versions of modules anymore

2022-08-09 Thread Fernando Santagata
Hello, I'm trying to uninstall old versions of some modules; it looks like it's working but in reality it isn't. For example, but it's not limited to just this module: $ zef list --installed|grep CBOR ===> Found via /opt/rakudo-pkg/share/perl6/core ===> Found via /home/nando/.rak

Re: Raku modules in Gentoo's Portage

2020-12-01 Thread Brad Gilbert
installing at a time. So that would be one thing that a Gento specific subclass would change. On Tue, Dec 1, 2020 at 4:15 AM p.spek via perl6-users wrote: > Hi, fellow Rakoons, > > I've been looking into the creation of a Portage tree for Gentoo, to allow > installation of Raku mod

Re: Re-exporting modules that export operators...

2020-08-15 Thread Stuart Hungerford
On Sun, Aug 16, 2020 at 9:03 AM Ralph Mellor wrote: > The SO you quote includes an operator. So that's not the problem. > > The SO is written by jnthn. It doesn't get more authoritative than that. That's good to know, although for me the difference between it working and not working (with that

Re: Re-exporting modules that export operators...

2020-08-15 Thread Ralph Mellor
'm using the technique described in this thread > https://stackoverflow.com/questions/61179586/use-haskell-like-prelude-modules-in-a-module-in-raku > to re-export module sub-trees in a project. One of these re-export > modules also exports an infix operator. The others only export classes > and

Re-exporting modules that export operators...

2020-08-14 Thread Stuart Hungerford
Hi, I'm using the technique described in this thread https://stackoverflow.com/questions/61179586/use-haskell-like-prelude-modules-in-a-module-in-raku to re-export module sub-trees in a project. One of these re-export modules also exports an infix operator. The others only export classes

Re: My Windows Modules

2020-01-21 Thread ToddAndMargo via perl6-users
On 2020-01-21 00:58, Shlomi Fish wrote: Hi ITodd! On Mon, 20 Jan 2020 22:20:29 -0800 ToddAndMargo via perl6-users wrote: Hi All, I have my Win API modules to the point I like them now. I will be a few months before I get them up on GIT. You should already be using version control (git

Re: My Windows Modules

2020-01-21 Thread Shlomi Fish
Hi Todd! On Mon, 20 Jan 2020 22:20:29 -0800 ToddAndMargo via perl6-users wrote: > Hi All, > > I have my Win API modules to the point I > like them now. I will be a few months > before I get them up on GIT. > You should already be using version control (git, likely):

Re: My Windows Modules

2020-01-20 Thread ToddAndMargo via perl6-users
Hi All, I have my Win API modules to the point I like them now. I will be a few months before I get them up on GIT. If anyone wants to look at them now, I will vpaste.net them for you. :-) -T

Re: My Windows Modules

2020-01-08 Thread ToddAndMargo via perl6-users
Hi All, I have RegSetValueExW working now. It even creates keys when they don't exist. I have to catch up on other project for customers (and refill the coffers) that have been put on hold to get these modules programmed, so it will be at least a month away before I can get them up on GIT

Re: My Windows Modules

2020-01-03 Thread ToddAndMargo via perl6-users
On 2020-01-03 12:56, Laurent Rosenfeld via perl6-users wrote: Hy Todd, why don't you use GitHub or GitLab? This is really a better solution for software source and revision control. Have a nice new year, Laurent. I am definitely thinking of it!

Re: My Windows Modules

2020-01-03 Thread Laurent Rosenfeld via perl6-users
via perl6-users wrote: > > Hi All, > > > > My latest three modules. two more in the works that use these: > > > > WinReg.pm6 > > WinMessageBox > > NativeConstants.pm6 > > > > WinReg.pm6 about killed me! > > > > -T > > > > H

Re: My Windows Modules

2020-01-03 Thread ToddAndMargo via perl6-users
On 2020-01-01 11:49, Veesh Goldman wrote: For the record: github is also searchable by google. Also, you could write blog posts, which are also searchable by google. I happen to read this list on my phone, and for some reason it gets super annoyed at very long posts, so I find these lengthy

Re: My Windows Modules

2020-01-03 Thread ToddAndMargo via perl6-users
On 2019-12-31 23:12, ToddAndMargo via perl6-users wrote: Hi All, My latest three modules.  two more in the works that use these: WinReg.pm6 WinMessageBox NativeConstants.pm6 WinReg.pm6 about killed me! -T Hi All, Anyone using this code, it is going through some major changes. When I get

Re: My Windows Modules

2020-01-01 Thread Veesh Goldman
a Windows API module, which is what this is targets at. > > > > > For someone who complains immediately if you are disrespected by having > > > your grammar corrected, you are remarkably disrespectful to everyone else. > > Okay. When I do this, please point it out so I can corr

Re: My Windows Modules

2020-01-01 Thread ToddAndMargo via perl6-users
 grammar corrected, you are remarkably disrespectful to everyone else. Okay. When I do this, please point it out so I can correct it. The work you have done getting these modules to work on Windows is great. Given the dominance of Windows in computing, your modules will almost certainly

Re: My Windows Modules

2020-01-01 Thread Richard Hainsworth
Todd! Of what use are these module printouts? For someone who complains immediately if you are disrespected by having your grammar corrected, you are remarkably disrespectful to everyone else. The work you have done getting these modules to work on Windows is great. Given the dominance

Re: My Windows Modules

2019-12-31 Thread ToddAndMargo via perl6-users
Hi All, My latest three modules. two more in the works that use these: WinReg.pm6 WinMessageBox NativeConstants.pm6 WinReg.pm6 about killed me! -T # unit module WinReg; # WinReg.pm6 #`{ Utilities to operate on the Windows registry perl6 -I. -c WinReg.pm6 Test one liner

global variables and modules question

2019-12-31 Thread ToddAndMargo via perl6-users
Hi All, Is there a way to restrict variables, constants, enums and such declared in the global section of a module to only the module? Many thanks, -T -- ~ When we ask for advice, we are usually looking for an accomplice. --

Re: My Windows Modules

2019-12-29 Thread ToddAndMargo via perl6-users
On 2019-12-29 18:47, ToddAndMargo via perl6-users wrote: On 2019-12-29 17:39, ToddAndMargo via perl6-users wrote: Hi All, I have been working feverishly on Windows modules to support a program I have been tasked to write for a customer. And after all the wonderful help everyone has given me

Re: My Windows Modules

2019-12-29 Thread ToddAndMargo via perl6-users
On 2019-12-29 17:39, ToddAndMargo via perl6-users wrote: Hi All, I have been working feverishly on Windows modules to support a program I have been tasked to write for a customer. And after all the wonderful help everyone has given me, I better show what I have done with it! So far

My Windows Modules

2019-12-29 Thread ToddAndMargo via perl6-users
Hi All, I have been working feverishly on Windows modules to support a program I have been tasked to write for a customer. And after all the wonderful help everyone has given me, I better show what I have done with it! So far there are four of them. I have completed the windows popup module

Re: modules and subsets

2019-12-13 Thread Fernando Santagata
On Fri, Dec 13, 2019 at 6:48 AM Todd Chester via perl6-users < perl6-users@perl.org> wrote: > On 2019-12-12 00:22, Fernando Santagata wrote: > > On Thu, Dec 12, 2019 at 3:46 AM Todd Chester > > wrote: > > Can I export any other variable and constants the same way: >

Re: modules and subsets

2019-12-12 Thread Todd Chester via perl6-users
On 2019-12-12 00:22, Fernando Santagata wrote: On Thu, Dec 12, 2019 at 3:46 AM Todd Chester > wrote: On 2019-12-11 10:22, Fernando Santagata wrote: > File test.pm6 > > unit module test; > subset PosInt of Int is export where * > 0; >

Re: modules and subsets

2019-12-12 Thread Fernando Santagata
On Thu, Dec 12, 2019 at 3:46 AM Todd Chester wrote: > On 2019-12-11 10:22, Fernando Santagata wrote: > > File test.pm6 > > > > unit module test; > > subset PosInt of Int is export where * > 0; > > > > > > File test.p6 > > > > use lib '.'; > > use test; > > sub mytest(PosInt $a) { say $a } > >

Re: modules and subsets

2019-12-11 Thread Todd Chester
On 2019-12-11 10:22, Fernando Santagata wrote: File test.pm6 unit module test; subset PosInt of Int is export where * > 0; File test.p6 use lib '.'; use test; sub mytest(PosInt $a) { say $a } mytest(1); # output: 1 mytest(-1);    # output Constraint type check failed in binding to

Re: modules and subsets

2019-12-11 Thread Todd Chester via perl6-users
On 2019-12-11 10:16, Elizabeth Mattijsen wrote: $ 6 'subset A of Int; dd OUR::.keys' ("A",).Seq Hi Elizabeth, subset A of Int; dd OUR::.keys ("A",).Seq Nil Would you explain how your are using dd and what your are showing me here? Also how it ties into my original question as to if the

Re: modules and subsets

2019-12-11 Thread Todd Chester via perl6-users
On 2019-12-11 09:54, JJ Merelo wrote: By default, the scope of anything (containers, classes, whatever) is lexical to the scope they are in. Hi JJ, Thank you for responding. By the way, I'd be a Golden. I don't understand how you are using the word "lexical". I may be mixing Modula2

Re: modules and subsets

2019-12-11 Thread Fernando Santagata
File test.pm6 unit module test; subset PosInt of Int is export where * > 0; File test.p6 use lib '.'; use test; sub mytest(PosInt $a) { say $a } mytest(1); # output: 1 mytest(-1);# output Constraint type check failed in binding to parameter '$a'; expected test::PosInt but got Int (-1)

Re: modules and subsets

2019-12-11 Thread Elizabeth Mattijsen
$ 6 'subset A of Int; dd OUR::.keys' ("A",).Seq > On 11 Dec 2019, at 18:57, JJ Merelo wrote: > > > > El mié., 11 dic. 2019 a las 18:54, JJ Merelo () escribió: > Subsets follow pretty much the same rules as every other declared thing. > Change subset by "variable" or "class", if the answer

Re: modules and subsets

2019-12-11 Thread JJ Merelo
El mié., 11 dic. 2019 a las 18:54, JJ Merelo () escribió: > Subsets follow pretty much the same rules as every other declared thing. > Change subset by "variable" or "class", if the answer is true, it's also > true for subsets. > > By default, the scope of anything (containers, classes, whatever)

Re: modules and subsets

2019-12-11 Thread JJ Merelo
Subsets follow pretty much the same rules as every other declared thing. Change subset by "variable" or "class", if the answer is true, it's also true for subsets. By default, the scope of anything (containers, classes, whatever) is lexical to the scope they are in. El mié., 11 dic. 2019 a las

modules and subsets

2019-12-11 Thread ToddAndMargo via perl6-users
Hi All, If I create a subset in the global section of a module (not inside a sub), can the subset be seen by the main program? Can a subset be declared on a sub's declaration line? (Hope springs eternal.) Many thanks, -T

Re: modules and constants

2019-12-06 Thread ToddAndMargo via perl6-users
On 2019-12-05 23:39, ToddAndMargo via perl6-users wrote: Hi All, Its there a way, if you import a module that is also imports a bunch of constants into your main program to be used globally? If so, what is the syntax in the module and in the main program? And what happends if there is a name

Re: modules and constants

2019-12-06 Thread ToddAndMargo via perl6-users
On Fri, 6 Dec 2019 at 09:05, ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2019-12-06 00:01, Tom Blackwood wrote: > Todd, > > AFAIK Perl’s culture is not to use so many constants in actual > programming. :) > > Tom > Is there a

Re: modules and constants

2019-12-06 Thread Simon Proctor
If you define them in the top level of your module then all your subs have access : constant FOO = 2; sub inc-by-foo( $a ) { $a+FOO; } On Fri, 6 Dec 2019 at 09:05, ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 2019-12-06 00:01, Tom Blackwood wrote: > > Todd, > > > > AFAIK

Re: modules and constants

2019-12-06 Thread ToddAndMargo via perl6-users
On 2019-12-06 00:01, Tom Blackwood wrote: Todd, AFAIK Perl’s culture is not to use so many constants in actual programming. :) Tom Is there a way to make constants universal inside a module, or do I have to declare them inside every sub?

Re: modules and constants

2019-12-06 Thread Tom Blackwood
Todd, AFAIK Perl’s culture is not to use so many constants in actual programming. :) Tom On Fri, Dec 6, 2019 at 3:47 PM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > Hi All, > > Its there a way, if you import a module that is also > imports a bunch of constants into your main

modules and constants

2019-12-05 Thread ToddAndMargo via perl6-users
Hi All, Its there a way, if you import a module that is also imports a bunch of constants into your main program to be used globally? If so, what is the syntax in the module and in the main program? And what happends if there is a name conflict between the module and main program? Many

lib for non-core, non-installed modules

2019-04-18 Thread mimosinnet
Dear perl6 community, I wonder what would be the right syntax for non-core, non-installed modules as discussed in StackOverflow? [1]. In other words, something similar to FindBin::libs in perl5. The solution I have come across is: use lib $*PROGRAM.dirname.IO.add('../lib

Re: I need the rules for running modules from the command line

2018-08-14 Thread ToddAndMargo
On 08/14/2018 03:48 AM, Timo Paulssen wrote: Please be aware that passing a folder with many files in it as the -I path will cause a tremendous slowdown when loading modules, since it goes through the whole file hierarchy starting at that path. If /home/linuxutil is actually a typical home

Re: I need the rules for running modules from the command line

2018-08-14 Thread ToddAndMargo
On 08/14/2018 03:20 AM, JJ Merelo wrote: Since I haven't done this for a long time, let me remind you the possibility of posting, if you will, your questions _also_ in StackOverflow. You'll (possibly) get more answers (or just different ones), and will help spread the word about Perl 6 (which

Re: I need the rules for running modules from the command line

2018-08-14 Thread Timo Paulssen
Please be aware that passing a folder with many files in it as the -I path will cause a tremendous slowdown when loading modules, since it goes through the whole file hierarchy starting at that path. If /home/linuxutil is actually a typical home folder with dotfiles and documents and what have you

Re: I need the rules for running modules from the command line

2018-08-14 Thread ToddAndMargo
This does work, but what a lot of extra work: $ perl6 -e 'use lib "/home/linuxutil"; use PrintColors; PrintBlue( "Blue\n" );' Blue What are the rules for calling modules from the command line? Many thanks, -T Follow up, with Timo's help. Note keeper note: Perl6: runn

Re: I need the rules for running modules from the command line

2018-08-14 Thread ToddAndMargo
t open PrintBlue( "Blue" ). Failed to stat file: no such >> file or directory >> >> >> This does work, but what a lot of extra work: >> >> $ perl6 -e 'use lib "/home/linuxutil"; use PrintColors; PrintBlue( >> "Blue\n" );' >> Blue &

Re: I need the rules for running modules from the command line

2018-08-14 Thread JJ Merelo
ile: no such > > file or directory > > > > > > This does work, but what a lot of extra work: > > > > $ perl6 -e 'use lib "/home/linuxutil"; use PrintColors; PrintBlue( > > "Blue\n" );' > > Blue > > > > > > > > What are the rules for calling modules from the command line? > > > > > > Many thanks, > > -T > -- JJ

Re: I need the rules for running modules from the command line

2018-08-14 Thread Timo Paulssen
ntBlue( "Blue\n" );' > Could not open PrintBlue( "Blue" ). Failed to stat file: no such > file or directory > > > This does work, but what a lot of extra work: > > $ perl6 -e 'use lib "/home/linuxutil"; use PrintColors; PrintBlue( > "Blue\n" );' > Blue > > > > What are the rules for calling modules from the command line? > > > Many thanks, > -T

I need the rules for running modules from the command line

2018-08-14 Thread ToddAndMargo
k: $ perl6 -e 'use lib "/home/linuxutil"; use PrintColors; PrintBlue( "Blue\n" );' Blue What are the rules for calling modules from the command line? Many thanks, -T

Re: Security and modules question

2017-07-18 Thread Andrew Kirkpatrick
been wondering about pl programs that are > used by the root account. I have been marking them > to root and 700 to keep other out. But it is occurring > to me, if the bad guys have access to my custom modules, > they could insert anything they want into it and have > root access. S

Security and modules question

2017-07-18 Thread Todd Chester
Hi All, I have been wondering about pl programs that are used by the root account. I have been marking them to root and 700 to keep other out. But it is occurring to me, if the bad guys have access to my custom modules, they could insert anything they want into it and have root access. So, I

Smoke testing Perl 6 Modules on Rakudo

2017-04-08 Thread Gabor Szabo
I wonder if this site is really out of date as the dates at the top indicate? http://smoke.perl6.org/report If so, is there working version of this report? Gabor

Interactive terminal modules?

2017-03-28 Thread Chris Ramsey
I've been googling a bunch but can't find diddly for creating ncurses style interactive terminals in Perl 6. Sorry for such a vague question, but are there built-in modules for such a thing, and if so, what is it called so I can dive through the docs? Thanks!

Re: debugging modules

2017-03-16 Thread Theo van den Heuvel
have trouble getting rakudo to debug some of my own modules. merci, Theo Dominique Dumont schreef op 2017-03-16 16:21: On Friday, 10 March 2017 21:47:13 CET Theo van den Heuvel wrote: Strangely I do get messages like the following + EVAL_1 (1 - 1) | CompUnit::DependencySpecification.new(short

Re: Fwd: Re: Variables in modules

2017-03-15 Thread Lloyd Fournier
Since $?FILE in modules is being discussed I'll just leave this RT here: https://rt.perl.org/Public/Bug/Display.html?id=128442 On Thu, Mar 16, 2017 at 4:50 AM JuhiMarcel LangbroekTimmerman < mt195...@gmail.com> wrote: > In the perl doc of IO, IO::Path etc. The type is $?File.IO.WHAT

Re: Fwd: Re: Variables in modules

2017-03-13 Thread ToddAndMargo
On March 10, 2017 10:32:43 PM Theo van den Heuvel wrote: Not with me it doesn't. my $TheValue = $?FILE.subst(/.* "/"/, "", :g); sub sayfn is export { $TheValue.say } Could something else be wrong here? cheers, Theo ToddAndMargo schreef op 2017-03-10 22:10: On

Re: Fwd: Re: Variables in modules

2017-03-13 Thread JuhiMarcel LangbroekTimmerman
now we are at it, for readability perhaps instead of substitutes do, my $thevalue = $?FILE.IO.basename; Marcel On March 10, 2017 10:32:43 PM Theo van den Heuvel wrote: Not with me it doesn't. my $TheValue = $?FILE.subst(/.* "/"/, "", :g); sub sayfn is export {

Re: Fwd: Re: Variables in modules

2017-03-10 Thread ToddAndMargo
Hm. How does it do with "sub sayfn" commented out? On 03/10/2017 04:02 PM, Theo van den Heuvel wrote: > Todd, > > Apparently I don't understand your intentions. You said you wanted > constants globally available in your module. > Don't you want to use those constants? If so, how? >

Re: Fwd: Re: Variables in modules

2017-03-10 Thread ToddAndMargo
ToddAndMargo schreef op 2017-03-10 22:10: On 03/10/2017 09:53 AM, Timo Paulssen wrote: I don't quite understand what's wrong with just my $TheValue = $?FILE.subst(/.* "/"/, "" :g); near the top of your module? Hi Timo, Because it gives you "Use of uninitialized value $TheValue" when

Re: Fwd: Re: Variables in modules

2017-03-10 Thread Theo van den Heuvel
Not with me it doesn't. my $TheValue = $?FILE.subst(/.* "/"/, "", :g); sub sayfn is export { $TheValue.say } Could something else be wrong here? cheers, Theo ToddAndMargo schreef op 2017-03-10 22:10: On 03/10/2017 09:53 AM, Timo Paulssen wrote: I don't quite understand what's wrong with

Re: Fwd: Re: Variables in modules

2017-03-10 Thread ToddAndMargo
On 03/10/2017 09:53 AM, Timo Paulssen wrote: I don't quite understand what's wrong with just my $TheValue = $?FILE.subst(/.* "/"/, "" :g); near the top of your module? Hi Timo, Because it gives you "Use of uninitialized value $TheValue" when you go to use it inside one of the "is

Re: debugging modules

2017-03-10 Thread Fernando Santagata
On Fri, Mar 10, 2017 at 1:41 PM, Theo van den Heuvel <vdheu...@heuvelhlt.nl> wrote: > Hi all, > > the debugger, Debugger::UI::CommandLine, does not step into modules I use. > I must be doing something wrong. Any ideas? > Same here. I can add that I couldn't find a wa

Fwd: Re: Variables in modules

2017-03-09 Thread Theo van den Heuvel
Is this what you are looking for? our $IAm is export; ( $IAm = $?FILE ) ~~ s|.*"/"||; -- Theo van den Heuvel Van den Heuvel HLT Consultancy

Re: Variables in modules

2017-03-09 Thread Timo Paulssen
"my" variables are lexically scoped to the curly braces that contain them. That means that your $IAm is limited exactly to that init block. Also, =~ isn't in perl6. You can put "my $IAm" outside that block and assign to it inside the block, though. HTH - Timo

Fedora and Modules

2017-01-14 Thread ToddAndMargo
Hi All, Fedora's Rakudo Star now comes without the modules or panda. https://bugzilla.redhat.com/show_bug.cgi?id=1410159 They were removed as of v7. Makes Perl 6 pretty useless. Tears, -T -- ~~ Computers are like air conditioners. They malfunction when you

modules in windows?

2017-01-11 Thread ToddAndMargo
Hi All, In Windows, other than writing for it and having it crash, how do I tell if I have a module installed? I want this one, among others: https://github.com/araraloren/Net-FTP If I don't have the module, how do I install it? Many thanks, -T -- ~~

Re: can Perl 6 bootstrap itself (downloading modules and such via git)

2016-08-26 Thread Timo Paulssen
On 26/08/16 11:03, Andreas Mueller wrote: > on Windows i have to install git to download a Module > > maybe, one day there is a 'git' written in P6 > > > Andreas I think we should be able to grab modules without using git if we can rely on github and gitlab and whoever hos

Re: Can I use my Perl5 .pm modules in Perl6?

2016-01-14 Thread Timo Paulssen
On 14/01/16 08:15, H.Merijn Brand wrote: Here's an example of ported DBI code: --8<--- #!perl6 use v6; use Inline::Perl5; my $p5 = Inline::Perl5.new; $p5.use("Text::CSV_XS"); my @rows; my $csv = $p5.invoke("Text::CSV_XS", "new") or die "Cannot use CSV: ", $p5.invoke("Text::CSV_XS",

Can I use my Perl5 .pm modules in Perl6?

2016-01-13 Thread ToddAndMargo
Hi All, I have written myself several Perl 5 modules (.pm). Is there a way to call them from Perl6? Or should I must I rewrite them? Many thanks, -T

Re: Can I use my Perl5 .pm modules in Perl6?

2016-01-13 Thread David H. Adler
On Wed, Jan 13, 2016 at 12:50:19PM -0800, ToddAndMargo wrote: > Hi All, > > I have written myself several Perl 5 modules (.pm). > Is there a way to call them from Perl6? Or should I > must I rewrite them? https://doc.perl6.org/language/faq#Can_I_use_Perl_5_modules_from_Perl_6%3F

Re: Can I use my Perl5 .pm modules in Perl6?

2016-01-13 Thread H.Merijn Brand
On Wed, 13 Jan 2016 16:31:15 -0800, ToddAndMargo <toddandma...@zoho.com> wrote: > On 01/13/2016 12:51 PM, David H. Adler wrote: > > On Wed, Jan 13, 2016 at 12:50:19PM -0800, ToddAndMargo wrote: > >> Hi All, > >> > >> I have written myself several

Re: [PSA] panda doesn't precompile modules anymore

2015-08-27 Thread Parrot Raiser
manager was a massive PITA. It's been long agreed that precompiled modules are a cache that should be managed by rakudo itself, just nobody got around to implementing it yet :) Hopefully now that everything in the wild will be slow it will raise some awareness of the issue and make someone sit

Re: perl6 can't find installed modules, installed by panda

2015-04-27 Thread Timo Paulssen
: ls. Continuing story... I found out that the bootstrap.pl program used an environment variable DESTDIR which I have used now to place the installed modules outside of rakudo. I really don't know what the influence is on this but the modules are now installed like before but the path name I

perl6 can't find installed modules, installed by panda

2015-04-24 Thread MT
ls. Continuing story... I found out that the bootstrap.pl program used an environment variable DESTDIR which I have used now to place the installed modules outside of rakudo. I really don't know what the influence is on this but the modules are now installed like before but the path name I

perl6 can't find installed modules, installed by panda

2015-04-24 Thread MT
ls. I've installed the newest perl6 rakudo (2015.04-5-g59f57a8 built on MoarVM version 2015.04-3-gbb50941) and works fine except... I've also installed the panda module manager again which seems to work fine. It installs modules and shows them in the list. However, perl6 cannot find them

Re: Writing New Modules for Submission

2015-03-21 Thread Tobias Leich
: The guidance for the directory layout for a proposed module is very clear for mandatory items, and two other directories are also mentioned: bin and doc. What about other items such as a Makefile for developer use, development test scripts and modules, and miscellaneous files found in CPAN

Writing New Modules for Submission

2015-03-21 Thread Tom Browder
The guidance for the directory layout for a proposed module is very clear for mandatory items, and two other directories are also mentioned: bin and doc. What about other items such as a Makefile for developer use, development test scripts and modules, and miscellaneous files found in CPAN Perl 5

Debug core modules

2015-01-11 Thread MAX PUX
Hi, is there a way to debug core modules like IO::Socket::INET? Thanks, Massimo

Re: Debug core modules

2015-01-11 Thread Elizabeth Mattijsen
On 11 Jan 2015, at 10:57, MAX PUX isleof...@gmail.com wrote: is there a way to debug core modules like IO::Socket::INET? Generally, you can copy a module out of the core settings and run from source: the module in source will hide the one from the settings. Is that what you mean? Liz

Using precompiled modules, Assembling a project into one single file (pbc)

2011-06-17 Thread Георгий Устинов
compiled modules do not work together.

Re: Using precompiled modules, Assembling a project into one single file (pbc)

2011-06-17 Thread Moritz Lenz
. This can be very useful for scripting in desktop applications. I pinned my hopes on pbc_merge, but it seems compiled modules do not work together. It would be useful, but I don't think it is as straight-forward as you hoped it would be. Cheers, Moritz

News from the modules' world

2011-04-16 Thread Tadeusz Sośnierz
look closely, the modules list is now not a list of names and urls, but a list of urls to some json files. Those, called META.info are now the officia^Wmain, and modern way of publishing your module to a Perl 6 community. It has been around for a while now, but mostly as an experimental thing: now

Modules

2011-02-02 Thread Guy Hulbert
Will there be a distinct CPAN for perl6 ? I think the answer to this is yes but I said I was going to ask. After sending the previous email I realized: http://www.google.com/search?q=perl6+modules And found these: http://modules.perl6.org/ http://www.perlfoundation.org/perl6/index.cgi

The case of modules

2010-08-06 Thread Tadeusz Sośnierz
Hello, While writing neutro (a working module installer, while waiting for proto/pls, see [1]), and wandering around modules listed on proto.perl6.org, I started wondering about a universal way to handle installing them. For now, there are a few different approaches: - some modules just supply

Re: Perl6 Modules - Documentation

2010-07-30 Thread Steffen Schwigon
Richard Hainsworth rich...@rusrating.ru writes: The number of modules available to proto has grown considerably. I am not aware that there is a convenient way of obtaining a short description about each module, other than just the name? Just an opinion: imho every effort should go towards

Re: Perl6 Modules - Documentation

2010-07-30 Thread Jan Ingvoldstad
On Fri, Jul 30, 2010 at 11:27, Steffen Schwigon s...@renormalist.net wrote: Just an opinion: imho every effort should go towards integrating CPAN in any way. Perl without CPAN feels like Kung-Fu on stack-heel shoe. Maybe any of those META2.0, cpanminus, CPAN::Packager, CPAN::Dpendency,

Re: Perl6 Modules - Documentation

2010-07-30 Thread Richard Hainsworth
On 07/30/2010 01:27 PM, Steffen Schwigon wrote: Richard Hainsworthrich...@rusrating.ru writes: The number of modules available to proto has grown considerably. I am not aware that there is a convenient way of obtaining a short description about each module, other than just the name

Re: Perl6 Modules - Documentation

2010-07-30 Thread Guy Hulbert
On Fri, 2010-30-07 at 16:08 +0400, Richard Hainsworth wrote: All I am suggesting is that the directories containing modules also contain a METADATA file with some standard items, and that this metadata is required for a module that is registered. Even if there is a CPAN system

Re: Perl6 Modules - Documentation

2010-07-30 Thread Patrick R. Michaud
containing modules also contain a METADATA file with some standard items, and that this metadata is required for a module that is registered. Even if there is a CPAN system, the metadata would still be needed, so there is no extra work for developers. I would also like to express a desire that we follow

how to pkg/distrib Perl 6 modules?

2010-07-29 Thread Darren Duncan
Now that, with Rakudo Star, it is relatively straightforward to install and use Perl 6, I'm wondering about the next step. I want to start writing and distributing Perl 6 modules in an easily installable but non-bundled manner, much as how one can do so today with Perl 5 modules. What

Re: Modules

2008-10-12 Thread Moritz Lenz
Elyse M. Grasso wrote: I was able to surface long enough to review the use of perl modules in our current, perl5-based architecture. And the answer is that we hardly use any, because it was written against an old version of perl5 shipped with a very limited set of modules and little

Re: Modules

2008-10-12 Thread Elyse M. Grasso
to additional CPAN modules, the perl6 community is going to need either some method for certification of modules, or a good method for including them in an application's distribution package and installing them onto the end user's machine. Supporting Windows is going to be a major pain for me, I'm sure

Re: Modules

2008-10-12 Thread Timothy S. Nelson
will only be shipped with the modules needed to install more modules, for which CGI certainly isn't needed. Just as a word of explanation for Elyse, the reasoning I saw behind this was, if we ship it with few enough modules, Systems Administrators will be forced to choose the modules they need

Re: Modules

2008-10-12 Thread ispyhumanfly
Timothy S. Nelson wrote: From what I've gathered so far, Perl 6 core will only be shipped with the modules needed to install more modules, for which CGI certainly isn't needed. Just as a word of explanation for Elyse, the reasoning I saw behind this was, if we ship it with few enough

Re: Embedded perl5 modules

2006-10-22 Thread Richard Hainsworth
Steffen said: Maybe an additional use perl5:Wx::SimpleApp; ? I'm just guessing... Steffen -- Steffen Schwigon schwi... http://groups.google.com/groups/unlock?msg=5db1a47bed78a20d_done=/group/perl.perl6.users/browse_frm/thread/4c85d7fedf76dd11/6ec62de446f6ea38%3F@webit.de Dresden Perl

Re: Embedded perl5 modules

2006-10-20 Thread Steffen Schwigon
Richard Hainsworth [EMAIL PROTECTED] writes: use perl5:Wx; my $app = Wx::SimpleApp.new; my $frame=Wx::Frame.new(undef, -1, 'Hello world!'); $frame.Show; $app.MainLoop; The following is the result: $pugs wxtest.p6 *** No compatible subroutine found: Wx::SimpleApp at wxtest.p6 line 2,

Re: more on perl5 modules

2006-09-18 Thread Richard Hainsworth
perhaps, the problem is I am not using the latest version of pugs. Regards, Richard A. Pagaltzis wrote: * Richard Hainsworth [EMAIL PROTECTED] [2006-09-17 18:05]: The .can workaround doesnt seem to work for more complex modules. Err, the .can workaround is a way to get past missing sub

Re: more on perl5 modules

2006-09-18 Thread A. Pagaltzis
* Richard Hainsworth [EMAIL PROTECTED] [2006-09-18 15:20]: I copied your neat program into a file, called it gtk2test.p6 and got pugs gtk2_test.p6 *** unexpected : expecting term postfix, operator, ; or end of input at gtk2_test.p6 line 2, column 56 Note my translation was purely

more on perl5 modules

2006-09-17 Thread Richard Hainsworth
The .can workaround doesnt seem to work for more complex modules. Here is a working perl5 program that puts up a message with two buttons. use strict; use Gtk2 -init; use Gtk2::Ex::Dialogs(destroy_with_parent=-1, modal=-1, no_separator = 0); my $window = Gtk2::Window-new('toplevel'); Gtk2::Ex

  1   2   >