Re: liens and :chomp question

2020-08-30 Thread ToddAndMargo via perl6-users
On 2020-08-30 00:35, Tobias Boege wrote: On Sun, 30 Aug 2020, ToddAndMargo via perl6-users wrote: - You are calling .lines on the value of .IO.open which is an IO::Handle. IO::Handle.lines does not take a named argument :chomp, so passing one is useless. That explains

Re: liens and :chomp question

2020-08-30 Thread ToddAndMargo via perl6-users
On Sat, Aug 29, 2020 at 10:15 PM ToddAndMargo via perl6-users wrote: Hi All, I am trying to figure out how to use line with :$chomp. Now what am I doing wrong? $ alias p6 alias p6='perl6 -e' $ p6 'say "Lines.txt".IO.open.lines(:chomp)[3,2];' (Line 3 Line 2) $ p6 'say

Re: liens and :chomp question

2020-08-30 Thread ToddAndMargo via perl6-users
On 2020-08-29 23:09, Tobias Boege wrote: On Sat, 29 Aug 2020, ToddAndMargo via perl6-users wrote: Hi All, I am trying to figure out how to use line with :$chomp. Now what am I doing wrong? $ alias p6 alias p6='perl6 -e' $ p6 'say "Lines.txt".IO.open.lines(:chomp)[3,2];' (Lin

liens and :chomp question

2020-08-29 Thread ToddAndMargo via perl6-users
Hi All, I am trying to figure out how to use line with :$chomp. Now what am I doing wrong? $ alias p6 alias p6='perl6 -e' $ p6 'say "Lines.txt".IO.open.lines(:chomp)[3,2];' (Line 3 Line 2) $ p6 'say "Lines.txt".IO.open.lines(:!chomp)[3,2];' (Line 3 Line 2) I am looking for Line 3 Line 2

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-29 17:04, ToddAndMargo via perl6-users wrote: On 2020-08-28 23:51, Tobias Boege wrote:    - :$chomp, :$enc, :$nl-in which are passed on to the open call in the first bullet point above, Hi Tobias, I am in process of revising my keeper on lines. May I talk you out of examples

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-28 23:51, Tobias Boege wrote: - :$chomp, :$enc, :$nl-in which are passed on to the open call in the first bullet point above, Hi Tobias, I am in process of revising my keeper on lines. May I talk you out of examples of the syntax used by :$chomp, :$enc, and :$nl-in? Many

Re: lines :$nl-in question

2020-08-29 Thread ToddAndMargo via perl6-users
On 2020-08-28 23:51, Tobias Boege wrote: On Fri, 28 Aug 2020, ToddAndMargo via perl6-users wrote: https://docs.raku.org/type/IO::Path#method_lines (IO::Path) method lines Defined as: method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = ["\x0A", &

Re: lines :$nl-in question

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 18:49, Paul Procacci wrote: |c slurps the remaining arguments into c and passese those arguments to the lines method of IO::Handle. I do not understand

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-25 16:46, ToddAndMargo via perl6-users wrote: On 2020-08-25 16:18, William Michels via perl6-users wrote: Reposting this from Rakudo Weekly News: 2020.34 Another Survey Time [by liztormato] "It's that time of the year again! Time for the yearly Raku User Survey! Please

lines :$nl-in question

2020-08-28 Thread ToddAndMargo via perl6-users
Hi All, In the following: https://docs.raku.org/type/IO::Path#method_lines (IO::Path) method lines Defined as: method lines(IO::Path:D: :$chomp = True, :$enc = 'utf8', :$nl-in = ["\x0A", "\r\n"], |c --> Seq:D) Opens the invocant and returns its lines. The behavior is

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 07:49, Brad Gilbert wrote: Now with all of that said, it is little wonder why Todd has difficulties with the function descriptions where others don't. I also think that if we just replaced what we have for something that works for Todd it might make it more difficult for others.

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 03:57, Tom Browder wrote: On Thu, Aug 27, 2020 at 20:41 ToddAndMargo via perl6-users wrote: On 2020-08-27 16:53, Daniel Long Sockwell wrote: Very few of the other [methods are documented] this way. Todd, I have one more suggestion: Why don't you put your "keepers"

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Also, I don't have the same reaction to the phrase "funny names" that you do -- I don't think of "funny names" as necessarily being esoteric. They could just be a bit unusual.  For example, if you want to get the numerator and denominator of a 

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 19:55, dan...@codesections.com wrote: Here is my keeper on a hash Thanks for sharing :) You are welcome. I shared my best one. Most are about 1/10 of that one.

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Very few of the other [methods are documented] this way. This one also started with an error in the cryptogram as well.  (That is another complaint about the documentation.  The cryptograms are often wrong.) And there should be zero tolerance for

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On Thu, Aug 27, 2020 at 1:40 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-08-27 13:28, Tobias Boege wrote: > On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: >> To pick out particular lines: >> $ cat Line

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 13:28, Tobias Boege wrote: On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: To pick out particular lines: $ cat Lines.txt | raku -e '.say for lines()[3,2,5]' Line 3 Line 2 Line 5 If it is, it is buried somewhere. And what goes inside the ()? That may

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-25 20:28, dan...@codesections.com wrote: I noted it over on the survey, but the things I would like to see upcoming are 1) documentation that is written for both the beginner and the advanced user. Currently, it is only written for the advanced user, who does not need it. The

Re: Raku User's Survey 2020 out now....

2020-08-25 Thread ToddAndMargo via perl6-users
On 2020-08-25 16:18, William Michels via perl6-users wrote: Reposting this from Rakudo Weekly News: 2020.34 Another Survey Time [by liztormato] "It's that time of the year again! Time for the yearly Raku User Survey! Please fill in the survey so that the Raku Community can better tweak the

Re: print particular lines question

2020-08-25 Thread ToddAndMargo via perl6-users
On 2020-08-24 20:30, ToddAndMargo via perl6-users wrote: On Mon, Aug 24, 2020 at 11:08 PM ToddAndMargo via perl6-users wrote: On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say

Re: print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
On Mon, Aug 24, 2020 at 11:08 PM ToddAndMargo via perl6-users wrote: On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8

Re: print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 I want to print liens 1, 3, and 7. Assigning

print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 I want to print liens 1, 3, and 7. Assigning `my @x=$_.lines` puts everything into $x[0] Many thanks,

Re: Any sign of a fix for the 10 second compile time?

2020-08-01 Thread ToddAndMargo via perl6-users
$ time raku --stagestats -c GetUpdates.pl6 Stage start : 0.000 Stage parse : 18.405 Stage syntaxcheck: Syntax OK real0m18.449s user0m20.673s sys0m0.223s On 2020-08-01 10:30, Richard Hainsworth wrote: What you are asking for is not a bug, but a part of the current

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
On 2020-07-31 16:40, Tom Browder wrote: On Fri, Jul 31, 2020 at 5:38 PM ToddAndMargo via perl6-users wrote: Todd, a couple of questions: 1. In your modules that change all the time, do have "use lib ...;" statements in any of them? No. If I do, they crash # use lib '/home/linux

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
On 2020-07-31 15:36, ToddAndMargo via perl6-users wrote: On 2020-07-31 15:32, Tom Browder wrote: On Fri, Jul 31, 2020 at 14:55 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Fri, Jul 31, 2020, 04:45 ToddAndMargo via perl6-users >> mailto:pe

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
On 2020-07-31 15:32, Tom Browder wrote: On Fri, Jul 31, 2020 at 14:55 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Fri, Jul 31, 2020, 04:45 ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org> <mailto:perl6-users@perl

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
>> On 31 Jul 2020, at 03:45, ToddAndMargo via perl6-users wrote: >> >> Hi All, >> >> Any sign of a fix for the 10 second compile time? >> >> Do you know if a bug has been opened on it so I can >> sign up for the CC? >> >> Many t

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
On Fri, Jul 31, 2020, 04:45 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, Any sign of a fix for the 10 second compile time? Do you know if a bug has been opened on it so I can sign up for the CC? Many thanks, -T On 2020-07-31

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread ToddAndMargo via perl6-users
On 2020-07-31 01:41, Richard Hainsworth wrote: odd, Strangely after all the correspondence we have had, but I am unable to read your mind, and so understand your question. Perhaps you could have pity on me and give me a bit more information about a) which bug has appeared b) what is it 

Any sign of a fix for the 10 second compile time?

2020-07-30 Thread ToddAndMargo via perl6-users
Hi All, Any sign of a fix for the 10 second compile time? Do you know if a bug has been opened on it so I can sign up for the CC? Many thanks, -T

Re: 2020.07.02 just hit

2020-07-24 Thread ToddAndMargo via perl6-users
> On Fri, Jul 24, 2020 at 3:23 PM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > > GetRaku new update downloaded 2020.07 --> 2020.07.02 > > Uh Oh. They must have found a bug. Wonderful that > they are on top of things! &g

2020.07.02 just hit

2020-07-24 Thread ToddAndMargo via perl6-users
GetRaku new update downloaded 2020.07 --> 2020.07.02 Uh Oh. They must have found a bug. Wonderful that they are on top of things! :-)

2020.07 just hit

2020-07-21 Thread ToddAndMargo via perl6-users
GetRaku new update downloaded 2020.06 --> 2020.07

2020.06 just hit

2020-06-23 Thread ToddAndMargo via perl6-users
RakudoPkgFedora32-2020.06.x86_64.rpm just hit

Interesting W10 and RakudoStar installer error message

2020-06-16 Thread ToddAndMargo via perl6-users
Hi All, W10-2004 Pro x 64 RakudoStar-2020.05.1.01-win-x86_64-(JIT).msi I am rolling out Raku on several of my customer's workstations in preperatins to some code I will be installing.   Windows 10 takes umbrage to RakudoStar You press

Re: just curious to know

2020-06-14 Thread ToddAndMargo via perl6-users
On 2020-06-14 08:04, Radhakrishnan Venkataraman wrote: Hi, I had been a perl 5.0 user in the past.  Ever since perl 6.0 was announced, I waited, like many, indefinitely.  At last perl 6.0 has just started from its starting block and is also in the race.  I am happy about that. Hi

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 16:08, Peter Pentchev wrote: Yes, I know. Git does take some getting used to; any program does. With time, you may find it useful. The things you do all the time, you remember. Since I am IT support to small business and do EVERYTHING, except the wiring, which I have guys that

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 15:35, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 03:15:36PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 15:02, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 02:57:58PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 14:54, Peter Pentchev wrote: On Mon

Re: Issues with "zef install Informative" under Windows

2020-06-08 Thread ToddAndMargo via perl6-users
, does GTK::Simple install on Windows 10? If so, I will edit the Informative to the newest version of GTK::Simple. Regards, Richard On 08/06/2020 22:55, ToddAndMargo via perl6-users wrote: Hi All, Window 10-2005 Rakudo version 2020.05.1 built on MoarVM version 2020.05 Informative installs

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 15:02, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 02:57:58PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 14:54, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 02:48:48PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 13:55, Richard Hainsworth wrote

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 14:57, ToddAndMargo via perl6-users wrote: On 2020-06-08 14:54, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 02:48:48PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 13:55, Richard Hainsworth wrote: [snip] The opening bracket for class Informing is on (or about) line

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 14:54, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 02:48:48PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 13:55, Richard Hainsworth wrote: [snip] The opening bracket for class Informing is on (or about) line 10 and the closing in at about line 630, with a comment

Issues with "zef install Informative" under Windows

2020-06-08 Thread ToddAndMargo via perl6-users
Hi All, Window 10-2005 Rakudo version 2020.05.1 built on MoarVM version 2020.05 Informative installs perfectly in Fedora (Linux), but not Windows 10. "--force-build" does not work either Anyone know how to fix this? Many thanks, -T K:\Windows\NtUtil>Issues with "zef install Informative"

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 13:55, Richard Hainsworth wrote: Todd, The 'unit' in line 3 means something like 'this whole file is the Module' so there are no Begins/Ends/brackets. Poop. I spaced on that. I start all my moduels with 1: unit module ; The opening bracket for class Informing is on (or

Re: question about the multi in method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 14:12, Peter Pentchev wrote: On Mon, Jun 08, 2020 at 01:28:34PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-08 02:45, Richard Hainsworth wrote: Ok Todd, let me have a go at this issue. From what I understand, you see 'multi' and think 'there are more than one', which

Re: What is the zef command to update a module?

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 14:00, ToddAndMargo via perl6-users wrote: > On 08/06/2020 12:14, ToddAndMargo via perl6-users wrote: >> >> # zef update Informative >> A plugin name was provided that does not exist or does not support >> 'update' >> >> What am I doi

Re: What is the zef command to update a module?

2020-06-08 Thread ToddAndMargo via perl6-users
> On 08/06/2020 12:14, ToddAndMargo via perl6-users wrote: >> >> # zef update Informative >> A plugin name was provided that does not exist or does not support >> 'update' >> >> What am I doing wrong, this time? On 2020-06-08 10:35, Richard Hainsw

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 05:35, Fernando Santagata wrote: On Mon, Jun 8, 2020 at 2:11 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-06-08 04:32, Fernando Santagata wrote: > On Mon, Jun 8, 2020 at 1:20 PM ToddAndMargo via perl6-users > mailto

Re: question about the multi in method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 02:45, Richard Hainsworth wrote: Ok Todd, let me have a go at this issue. From what I understand, you see 'multi' and think 'there are more than one', which leads to the question 'where are they?' My understanding of 'multi' is 'there COULD be more than one', which leads to 

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 04:32, Fernando Santagata wrote: On Mon, Jun 8, 2020 at 1:20 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-06-08 03:38, Fernando Santagata wrote:  > …and line 3:  >  > unit module Informative;  >

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
On Mon, Jun 8, 2020 at 12:35 PM Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: Look at line 10 class Informing { On 08/06/2020 11:31, ToddAndMargo via perl6-users wrote: Hi All, Over on https://github.com/finanalyst/p6-inform/blob/mast

Re: I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
:$show-countdown >> ) { >> >> where is the class that is linked to that method? >> >> Many thanks, >> -T On 2020-06-08 03:35, Richard Hainsworth wrote: Look at line 10 class Informing { On 08/06/2020 11:31, ToddAndMargo via perl6-users wrote: It is my li

What is the zef command to update a module?

2020-06-08 Thread ToddAndMargo via perl6-users
# zef update Informative A plugin name was provided that does not exist or does not support 'update' What am I doing wrong, this time?

Re: I need a GTK pop up with time out

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 03:29, Richard Hainsworth wrote: This probably means I'll need to add a count-down color argument. I did not see the white on my LCD monitor I have tore https://github.com/finanalyst/p6-inform/blob/master/lib/Informative.pm6 apart and I can not find how to set the countdown

I need help finding a class for a method

2020-06-08 Thread ToddAndMargo via perl6-users
Hi All, Over on https://github.com/finanalyst/p6-inform/blob/master/lib/Informative.pm6 Line 144: method show( Str $str?, Int :$timer, Bool :$show-countdown ) { where is the class that is linked to that method? Many thanks, -T

Re: I need a GTK pop up with time out

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-06 22:46, ToddAndMargo via perl6-users wrote: On 2020-06-04 04:35, Richard Hainsworth wrote: Todd, I wrote you one a very long time ago, after a question from you. The module is called "Inform". Its on the modules site. Since it was a long time ago, there may be some bi

Re: question about the multi in method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-08 00:48, Fernando Santagata wrote: On Mon, Jun 8, 2020 at 9:12 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-06-07 22:39, Peter Pentchev wrote: I addressed this in my original e-mail: the documentation is currently: 1. a reference manual T

Re: question about the multi in method

2020-06-08 Thread ToddAndMargo via perl6-users
On 2020-06-07 22:39, Peter Pentchev wrote: I thought I explained that. The Rakudo developers are*never* finished with the development of some methods. Somebody*will* want to extend them in their own module. The Rakudo developers*want* to declare some methods as "multi" to allow the Rakudo

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 19:47, ToddAndMargo via perl6-users wrote: Hi Richard, How do I stretch the box out so it will show the entire title? -T Only one letter in the title shows https://ibb.co/X3sVxBV

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 20:06, ToddAndMargo via perl6-users wrote: On 2020-06-07 19:47, ToddAndMargo via perl6-users wrote: Hi Richard, How do I stretch the box out so it will show the entire title? -T Figured out what is going wrong with the :timer $data = inform( 'Something cleaver here

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 19:47, ToddAndMargo via perl6-users wrote: Hi Richard, How do I stretch the box out so it will show the entire title? -T Figured out what is going wrong with the :timer $data = inform( 'Something cleaver here ', :timer(5), # :buttons( [ :OK

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
Hi Richard, How do I stretch the box out so it will show the entire title? -T

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 08:45, Richard Hainsworth wrote: Hi Richard, Some follow questions: 1) where are the directions? I don't understand this question. Which directions? I tried to make the example as full of explanation as possible. where are the variable definitions? I don't understand this.

Re: question about the multi in method

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 14:20, Peter Pentchev wrote: On Sun, Jun 07, 2020 at 12:28:33PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-07 08:19, Peter Pentchev wrote: On Sun, Jun 07, 2020 at 09:04:45AM -0500, Brad Gilbert wrote: On Sun, Jun 7, 2020 at 3:15 AM ToddAndMargo via perl6-users < pe

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 00:28, ToddAndMargo via perl6-users wrote: Hi All, Is there a way to do an "if" on "use lib", so I do not have to keep commenting these back and forth? # use lib 'C:/NtUtil', '.'; use lib 'C:/NtUtil', '.', 'K:/NtUtil'; Many thanks, -T Follow up: With ton

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 12:32, ToddAndMargo via perl6-users wrote: n 2020-06-07 02:32, Peter Pentchev wrote: BEGIN { $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; } Does the final "}" close the BEGIN? Hi Peter, I am so use to BEGIN ... END In other languages, that I had to ask

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 13:57, ToddAndMargo via perl6-users wrote: On 2020-06-07 13:53, Peter Pentchev wrote: $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; Got it!  Thank you! I am not seeing the above enter the proper syntax:     'lib1', 'lib2' etc. Where is the comma?  How are the single quotes

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 13:53, Peter Pentchev wrote: $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; Got it! Thank you! I am not seeing the above enter the proper syntax: 'lib1', 'lib2' etc. Where is the comma? How are the single quotes entered? -T

Re: question about the multi in method

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 08:29, Veesh Goldman wrote: I imagine they called it cool because it, indeed, is cool. The Raku developers do have a sense of humor. Cool, needle, slurp, spurt: someone had a good laugh. :-)

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 02:32, Peter Pentchev wrote: BEGIN { $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; } Does the final "}" close the BEGIN? $path = 'lib1'.IO.d ?? 'lib1' !! 'lib2'; Hi Peter, Would you explain what the ?? and !! are doing in the above? Many thanks, -T

Re: question about the multi in method

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 08:19, Peter Pentchev wrote: On Sun, Jun 07, 2020 at 09:04:45AM -0500, Brad Gilbert wrote: On Sun, Jun 7, 2020 at 3:15 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: Hi All, Dumb question: Does the "multi" in "multi method" mean

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
On 2020-06-07 01:39, JJ Merelo wrote: No, there's no else. This if is for using modules with different names. If you want to use modules in different paths, it's probably not a good idea to call them by the same name. You can call them different names (and do a use lib on all paths), or use

question about the multi in method

2020-06-07 Thread ToddAndMargo via perl6-users
Hi All, Dumb question: Does the "multi" in "multi method" mean there is more than one way to address a method? Or, are the all methods "multi methods". If not and the method is a multi, should not the documentation show all (more than one) the ways of addressing a multi method? Many thanks,

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread ToddAndMargo via perl6-users
El dom., 7 jun. 2020 a las 9:29, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: Hi All, Is there a way to do an "if" on "use lib", so I do not have to keep commenting these back and forth? # use lib 'C:/NtUtil', '.'; us

Re: I need a GTK pop up with time out

2020-06-07 Thread ToddAndMargo via perl6-users
how to use GTK, and there is a time-out function. Richard, aka finanalyst On 04/06/2020 02:55, ToddAndMargo via perl6-users wrote: Hi All, Okay, now I know I am pushing it.  Can anyone point me to an example of a GTK information pop up with a time out feature?  Or similar? Many thanks, -T

Re: I need a GTK pop up with time out

2020-06-06 Thread ToddAndMargo via perl6-users
how to use GTK, and there is a time-out function. Richard, aka finanalyst On 04/06/2020 02:55, ToddAndMargo via perl6-users wrote: Hi All, Okay, now I know I am pushing it.  Can anyone point me to an example of a GTK information pop up with a time out feature?  Or similar? Many thanks, -T

Re: I need a GTK pop up with time out

2020-06-06 Thread ToddAndMargo via perl6-users
how to use GTK, and there is a time-out function. Richard, aka finanalyst On 04/06/2020 02:55, ToddAndMargo via perl6-users wrote: Hi All, Okay, now I know I am pushing it.  Can anyone point me to an example of a GTK information pop up with a time out feature?  Or similar? Many thanks, -T

Re: I need a GTK pop up with time out

2020-06-06 Thread ToddAndMargo via perl6-users
how to use GTK, and there is a time-out function. Richard, aka finanalyst On 04/06/2020 02:55, ToddAndMargo via perl6-users wrote: Hi All, Okay, now I know I am pushing it.  Can anyone point me to an example of a GTK information pop up with a time out feature?  Or similar? Many thanks, -T Hi

Re: Had a weird symptom calling raku

2020-06-06 Thread ToddAndMargo via perl6-users
El vie., 5 jun. 2020 a las 22:32, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: On 2020-06-05 13:06, Peter Pentchev wrote: > On Fri, Jun 05, 2020 at 11:32:20AM -0700, ToddAndMargo via perl6-users wrote: >> Hi All, >>

Re: Had a weird symptom calling raku

2020-06-05 Thread ToddAndMargo via perl6-users
On 2020-06-05 13:06, Peter Pentchev wrote: On Fri, Jun 05, 2020 at 11:32:20AM -0700, ToddAndMargo via perl6-users wrote: Hi All, Windows 10 Pro raku -v This is Rakudo version 2020.05.1 built on MoarVM version 2020.05 implementing Raku 6.d. I had a weird symptom calling Raku from Cobian

Had a weird symptom calling raku

2020-06-05 Thread ToddAndMargo via perl6-users
Hi All, Windows 10 Pro raku -v This is Rakudo version 2020.05.1 built on MoarVM version 2020.05 implementing Raku 6.d. I had a weird symptom calling Raku from Cobian Backup. A black box popped up, delayed about two seconds, then died. The only writing was the flashing cursor. Running the

Re: I need a GTK pop up with time out

2020-06-03 Thread ToddAndMargo via perl6-users
On 2020-06-03 19:12, Tom Browder wrote: On Wed, Jun 3, 2020 at 20:56 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: ...  Can anyone point me to an example of a GTK information pop up with a time out feature?  Or similar? Have you looked at the ex

Re: I reproduced one of the errors!

2020-06-03 Thread ToddAndMargo via perl6-users
On 2020-06-03 02:21, Peter Pentchev wrote: On Wed, Jun 03, 2020 at 01:06:33AM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-02 22:15, Peter Pentchev wrote: On Tue, Jun 02, 2020 at 07:39:16PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-01 23:02, Peter Pentchev wrote: https

Re: I reproduced one of the errors!

2020-06-03 Thread ToddAndMargo via perl6-users
On 2020-06-03 01:25, Fernando Santagata wrote: On Wed, Jun 3, 2020 at 10:07 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Is there a way to write a methods as I would write a sub and avoiding the class thing? I re-read the whole thread, but I stil

I need a GTK pop up with time out

2020-06-03 Thread ToddAndMargo via perl6-users
Hi All, Okay, now I know I am pushing it. Can anyone point me to an example of a GTK information pop up with a time out feature? Or similar? Many thanks, -T

Re: I reproduced one of the errors!

2020-06-03 Thread ToddAndMargo via perl6-users
On 2020-06-02 22:15, Peter Pentchev wrote: On Tue, Jun 02, 2020 at 07:39:16PM -0700, ToddAndMargo via perl6-users wrote: On 2020-06-01 23:02, Peter Pentchev wrote: https://docs.raku.org/language/classtut Error 522 Ray ID: 59d609616954eb79 • 2020-06-03 02:38:12 UTC Connection timed out Poop

Re: I reproduced one of the errors!

2020-06-02 Thread ToddAndMargo via perl6-users
On 2020-06-01 23:02, Peter Pentchev wrote: https://docs.raku.org/language/classtut Error 522 Ray ID: 59d609616954eb79 • 2020-06-03 02:38:12 UTC Connection timed out Poop!

Re: I reproduced one of the errors!

2020-06-02 Thread ToddAndMargo via perl6-users
On 2020-06-02 07:04, Andy Bach wrote: > Some times methods are great for human readability.  I would like to have both in my tool chest. Not sure that's really answering the question Richard was asking.  I believe he was looking for a more specific answer - when would you want to use a

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-06-01 15:19, Richard Hainsworth wrote: Todd, You said you asked if you could create your own methods, and that you were told 'no'. That was a surprising statement, so I asked about some context about who would say such a stupid(?!) thing. Seems like this was a half-remembered 'no' 

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-06-01 13:46, Richard Hainsworth wrote: Todd, I'd be interested to see where someone said 'no' to creating your own methods. Methods are integral to the whole idea of a class. It's also clear throughout the Raku documentation that there are methods. But for a method, you need a 

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-06-01 02:21, Peter Pentchev wrote: class Thing { multi method do-things(Int:D $value) { say "A thing can do things with an integer: $value"; } multi method do-things(Rational:D $value) { say "A thing can do things with a rational

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-06-01 02:21, Peter Pentchev wrote: On Mon, Jun 01, 2020 at 01:15:23AM -0700, ToddAndMargo via perl6-users wrote: On 2020-05-31 17:13, Peter Pentchev wrote: On Mon, Jun 01, 2020 at 03:12:05AM +0300, Peter Pentchev wrote: On Sun, May 31, 2020 at 04:29:55PM -0700, ToddAndMargo via perl6

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-05-31 17:13, Peter Pentchev wrote: On Mon, Jun 01, 2020 at 03:12:05AM +0300, Peter Pentchev wrote: On Sun, May 31, 2020 at 04:29:55PM -0700, ToddAndMargo via perl6-users wrote: On 2020-05-31 04:58, Peter Pentchev wrote: So my beef is when you feed these guys an undefined variable

Re: I reproduced one of the errors!

2020-06-01 Thread ToddAndMargo via perl6-users
On 2020-05-31 16:21, Peter Pentchev wrote: On Sun, May 31, 2020 at 04:06:28PM -0700, ToddAndMargo via perl6-users wrote: On 2020-05-31 12:48, Veesh Goldman wrote: well, literally it would mean something like "a direct result of inability to read is to not understand", which in cont

Re: I reproduced one of the errors!

2020-05-31 Thread ToddAndMargo via perl6-users
On 2020-05-31 04:58, Peter Pentchev wrote: So my beef is when you feed these guys an undefined variable, that they needs to tell you it requires a "defined" variable. Not a bunch of useless rubbish. For example (useless rubbish): And also... I thought I mentioned this before. You want a more

Re: I reproduced one of the errors!

2020-05-31 Thread ToddAndMargo via perl6-users
On 2020-05-31 12:48, Veesh Goldman wrote: well, literally it would mean something like "a direct result of inability to read is to not understand", which in context should mean if you can't read you won't understand. But I think the point was made. Hi Veesh, Please help me with my reading

Re: I reproduced one of the errors!

2020-05-31 Thread ToddAndMargo via perl6-users
On Sun, May 31, 2020, 09:05 Veesh Goldman > wrote: 読めないと分かりませんよ。 On 2020-05-30 23:15, Veesh Goldman wrote: Sorry, my Japanese is mediocre. Meant to say that you can't complain about not understanding something if you haven't learned how to read it. Google

Re: question on pod comments

2020-05-30 Thread ToddAndMargo via perl6-users
On 2020-05-30 21:28, Kevin Pye wrote: While the original documentation you were referring to called them Pod comments, that's not really accurate. The full documentation (to which I referred you) calls them "Pod documents" which is much more descriptive. The Pod document is parsed by Rakudo,

Re: question on pod comments

2020-05-30 Thread ToddAndMargo via perl6-users
On Sun, 31 May 2020 at 13:30, ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Sun, 31 May 2020 at 12:43, ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org> <mailto:perl6-users@perl.org <mailto:perl6-users@perl.org>&g

<    1   2   3   4   5   6   7   8   9   10   >