Mooch a regex

2016-01-11 Thread ToddAndMargo
Hi All, Would yo all terribly mind if I ask how to do this Perl 5 regex in Perl 6? (I learn best by example.) if ( $ClickLine =~ /aes256/ and /${BaseTag}/ ) { push ( @WebClickHere, $ClickLine ); if ( $Line =~ m{select id=\"(.*?)[-]} ) { my

Re: Mooch a regex

2016-01-12 Thread ToddAndMargo
On 01/11/2016 11:24 PM, Tobias Leich wrote: hi, what's in ${BaseTag}? Is it a regex rule or just a plain string? (Because that matters in Perl 6) It is a string and can vary. Would you show me both ways to keep me out of trouble? Am 12.01.2016 um 01:55 schrieb ToddAndMargo: Hi All, Would

perl 6 for rhel?

2016-01-10 Thread ToddAndMargo
Hi All, Anyone know if Perl 6 will be available for Red Hat Enterprise Linux 7 any time soon? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: perl 6 for rhel?

2016-01-10 Thread ToddAndMargo
On 01/10/2016 11:05 PM, Brandon Allbery wrote: On Mon, Jan 11, 2016 at 2:02 AM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Anyone know if Perl 6 will be available for Red Hat Enterprise Linux 7 any time soon? That's up to Red Hat.

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

CPAN and LWP::UserAgent question?

2016-01-13 Thread ToddAndMargo
Hi All, I am thinking of starting the transition from Perl 5 to 6. The major CPAN modules I use in Perl 5 are: use Term::ANSIColor qw ( BOLD BLUE RED GREEN RESET ); use Term::ReadKey qw ( ReadKey ReadMode ); use Net::Nslookup qw ( nslookup ); use LWP::UserAgent; use LWP::Protocol qw ( https );

Re: Mooch a regex

2016-01-13 Thread ToddAndMargo
in angle brackets: if $ClickLine ~~ / aes256 | <$BaseTag> / { # ... This is alled a "regex assertion". Am 12.01.2016 um 20:59 schrieb ToddAndMargo: On 01/11/2016 11:24 PM, Tobias Leich wrote: hi, what's in ${BaseTag}? Is it a regex rule or just a plain string? (Because that matters

Re: Mooch a regex

2016-01-13 Thread ToddAndMargo
On 01/12/2016 12:47 PM, Bruce Gray wrote: On Jan 11, 2016, at 6:55 PM, ToddAndMargo <toddandma...@zoho.com> wrote: Would yo all terribly mind if I ask how to do this Perl 5 regex in Perl 6? (I learn best by example.) if ( $ClickLine =~ /aes256/ and /${BaseTag}/ ) {

is there a Perl 5 converter?

2016-01-20 Thread ToddAndMargo
or is it all by hand? -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: perl 6 for rhel?

2016-08-09 Thread ToddAndMargo
On 01/10/2016 11:02 PM, ToddAndMargo wrote: Hi All, Anyone know if Perl 6 will be available for Red Hat Enterprise Linux 7 any time soon? Many thanks, -T Any sign of movement on this at Red Hat? -- ~~ Computers are like air conditioners

Re: Can I call myself

2017-02-04 Thread ToddAndMargo
On 02/04/2017 01:09 AM, Brent Laabs wrote: I think you're looking for &?ROUTINE. &?BLOCK is also related. https://docs.perl6.org/language/variables#index-entry-%26%3FROUTINE Hi Brent, Awesome reference on variables! Thank you! (I copied it down.) -T -- ~~~

Can I call myself

2017-02-04 Thread ToddAndMargo
Hi All, Just out of curiosity, in Perl 6 can a subroutine call itself? -T I am fighting with a broken Net:FTP::rmdir in Perl 5 that will not recuse as advertised (it is very intermittent). And I can not use Net::Ftp in Perl 6 as it is hosed and so is the Inline. And it seems that Perl 5

need {} help

2017-02-18 Thread ToddAndMargo
Hi All, I need to figure out how to use {} is substitutes. I got the // down, now I need to learn {}. I am trying to get away from the \/\/\\/\/\/\\/ nightmare. #!/usr/bin/perl6 print "FILE = <$?FILE>\n"; (my $IAm =~ $?FILE ) ~~ s/.*\///; print "IAm = <$IAm>\n"; (my $IAm2 =~ $?FILE )

Re: sub for die?

2017-02-18 Thread ToddAndMargo
On 02/17/2017 06:43 PM, ToddAndMargo wrote: Hi All, $ cat die.pl6 #!/usr/bin/perl6 use strict; # use warnings; # use lib; # fill name of lib in die "Curses on you!"; $ die.pl6 Curses on you! in block at ./die.pl6 line 7 What is the best way to exit, like "die", wi

Re: cifs control

2017-02-18 Thread ToddAndMargo
On 02/18/2017 06:16 AM, yary wrote: If your code will be running on Windows, then you should be able to use Perl6's native filesystem calls with UNC paths, and those can take IP addresses instead of host names eg. \\192.168.1.154\C$\Users\MiniMe\Documents Cool. Thank you! --

print to STDERR problem

2017-02-18 Thread ToddAndMargo
Hi All, I am having issues writing to STDERR. I am using this as a reference: https://perl6.org/archive/rfc/30.html The p52p6 translator needs to be able to spot instances of barewords and globs and translate them to scalars: print STDERR @foo; ->

Re: sub for die?

2017-02-18 Thread ToddAndMargo
On 02/18/2017 03:30 AM, Timo Paulssen wrote: It is usually considered The Right Thing to output error messages to stderr instead of stdout; you can use "note" to output to stderr (and it'll also put a newline at the end for you, which print doesn't do). True. Thank you --

Re: net::SMTP in rpm land?

2017-02-18 Thread ToddAndMargo
On 02/18/2017 03:51 AM, Timo Paulssen wrote: Almost no linux distros package perl6 modules for their native package manager yet. The only distro i know of that has any kind of perl6 module packaging at all is archlinux: https://aur.archlinux.org/packages/?O=0=perl6 You need to use panda

clipboard and ps questions?

2017-02-17 Thread ToddAndMargo
Hi All, rakudo-star-0.0.2016.11-1.el7.x86_64 (Linux) Two questions about substitutes for system calls: 1) Is there a reliably Perl 6 way to copy things to the clipboard? (Perl 5 has a module, but it is unreliable and I have to make a system call.) 2) Is there a way to get a list

Re: what is ".perl"?

2017-02-17 Thread ToddAndMargo
On 02/17/2017 06:51 PM, Brandon Allbery wrote: On Fri, Feb 17, 2017 at 9:47 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: What is the difference between these two commands and why would you use ".perl"? say &quo

Re: reverse of .lines?

2017-02-17 Thread ToddAndMargo
On 02/17/2017 07:44 PM, yary wrote: my $StringReversedLines = $StringFullOfLineFeeds.lines.reverse.join("\n") or my $StringReversedLines = $StringFullOfLineFeeds.split("\n",:v).reverse.join **//___^ Cool. I was wondering how to put the line feed back in! -- ~~~

net::SMTP in rpm land?

2017-02-17 Thread ToddAndMargo
Hi All, Before I go using Panda and lose my revision control, does anyone know what Net::SMTP is called in RPM land? $ yum --enablerepo=* whatprovides */net-smtp Many thanks, -T -- ~~~ Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank.

cifs control

2017-02-17 Thread ToddAndMargo
Hi All, Sorry for the 1000 questions today, but I have anb entire week to think them up. And I have another one. In Windows, I am noticing that Cobian Backup and Windows Explorer (not Internet Explorer) can tool around CIFS (Windows) shares based on the IP (not the drive letter). Can I do

what is ".perl"?

2017-02-17 Thread ToddAndMargo
Hi All, What is the difference between these two commands and why would you use ".perl"? say "$ServiceName"; say $ServiceName.perl; Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows

Re: reverse of .lines?

2017-02-17 Thread ToddAndMargo
On 02/17/2017 07:44 PM, yary wrote: Oh, then chain join on the end: my $StringReversedLines = $StringFullOfLineFeeds.lines.reverse.join("\n") or my $StringReversedLines = $StringFullOfLineFeeds.split("\n",:v).reverse.join **//___^ Hmmm. I wanted to recreate the array, not reverse the

sub for die?

2017-02-17 Thread ToddAndMargo
Hi All, $ cat die.pl6 #!/usr/bin/perl6 use strict; # use warnings; # use lib; # fill name of lib in die "Curses on you!"; $ die.pl6 Curses on you! in block at ./die.pl6 line 7 What is the best way to exit, like "die", without the commentary "in block " from the "die" command? I

Where is "Subject"?

2017-02-23 Thread ToddAndMargo
Hi All, Am I blind or is there nowhere to set the subject of an eMail in Net::SMTP? https://github.com/retupmoca/P6-Net-SMTP Many thanks, -T -- ~~~ Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank. ~~~

I am having trouble installing panda

2017-02-23 Thread ToddAndMargo
Hi All, I am having trouble installing "panda" on Fedora Code 25. $ perl6 -v This is Rakudo version 2016.11 built on MoarVM version 2016.11 implementing Perl 6.c. What is going on? Many thanks, -T $ git clone --recursive http://github.com/tadzik/panda.git $ cd panda # perl6 bootstrap.pl

Re: clipboard and ps questions?

2017-02-23 Thread ToddAndMargo
On 02/17/2017 06:38 PM, ToddAndMargo wrote: Hi All, rakudo-star-0.0.2016.11-1.el7.x86_64 (Linux) Two questions about substitutes for system calls: 1) Is there a reliably Perl 6 way to copy things to the clipboard? (Perl 5 has a module, but it is unreliable and I have to make

Re: I am having trouble installing panda

2017-02-24 Thread ToddAndMargo
On 02/23/2017 10:41 PM, ToddAndMargo wrote: Hi All, I am having trouble installing "panda" on Fedora Code 25. $ perl6 -v This is Rakudo version 2016.11 built on MoarVM version 2016.11 implementing Perl 6.c. What is going on? Many thanks, -T $ git clone --recursive http://github.

Re: Your thoughts on Padre?

2017-02-24 Thread ToddAndMargo
On 02/24/2017 04:58 PM, yary wrote: I installed and used Padre a little bit last year. It showed promise and seems to have had quite a bit of activity in its day. As of now it works for basic editing in perl6 but it seemed a little rough, and as Brandon noted it isn't maintained, fixes would be

Re: Your thoughts on Padre?

2017-02-24 Thread ToddAndMargo
On 02/24/2017 05:47 PM, ToddAndMargo wrote: On 02/24/2017 04:58 PM, yary wrote: I installed and used Padre a little bit last year. It showed promise and seems to have had quite a bit of activity in its day. As of now it works for basic editing in perl6 but it seemed a little rough

Re: Geany and group comments

2017-02-24 Thread ToddAndMargo
On 02/24/2017 01:56 PM, ToddAndMargo wrote: Hi All, I do adore the Geany editor for coding, but ... it coughs on group comments =begin Introduction blah blah blah =end Introduction after the first "=" everything is blue and I lose my fancy colors that tell me when I forget a

Re: I am having trouble installing panda

2017-02-24 Thread ToddAndMargo
On 02/24/2017 11:51 AM, Timo Paulssen wrote: Hey Todd, Net::SMTP (doesn't support SSL, but others do) $ zef --force install > Net::SMTP Are you sure that's the case? i definitely see SSL-related verbiage in Net::SMTP's Readme. The simple interface offers an "ssl" and a "starttls" flag in its

Geany and group comments

2017-02-24 Thread ToddAndMargo
Hi All, I do adore the Geany editor for coding, but ... it coughs on group comments =begin Introduction blah blah blah =end Introduction after the first "=" everything is blue and I lose my fancy colors that tell me when I forget a quote, etc.. Anyone know a way to keep my group comments and

Re: per 5 converter?

2017-02-13 Thread ToddAndMargo
On 02/13/2017 12:55 PM, Darren Duncan wrote: I think the important thing is having choice. Declaring parameters in terms of named variables is normal and important, but when one does that it would still be ideal to get a single extra variable that has all the arguments in it as components,

Re: per 5 converter?

2017-02-13 Thread ToddAndMargo
On 02/13/2017 02:23 PM, ToddAndMargo wrote: naming and commending oopscommenting -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

per 5 converter?

2017-02-11 Thread ToddAndMargo
Hi All, I know I asked this once before and I had though I'd written it down, but do you have any favorite Perl5 to Per6 converters? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows

Re: smtp question

2017-02-09 Thread ToddAndMargo
On 02/09/2017 08:51 PM, Brandon Allbery wrote: On Thu, Feb 9, 2017 at 11:41 PM, ToddAndMargo <toddandma...@zoho.com> wrote: I am looking at https://github.com/retupmoca/

smtp question

2017-02-09 Thread ToddAndMargo
Hi All, I am starting a program (run from crontab) to test some things and eMail diagnostics to me. I am looking at https://github.com/retupmoca/P6-Net-SMTP I pretty much understand everything, but send($from, $to,

Re: per 5 converter?

2017-02-12 Thread ToddAndMargo
On 02/12/2017 06:34 AM, Moritz Lenz wrote: Hi, What's the use case for converting Perl 5 to Perl 6 automatically? If you want to use Perl 5 code from within your Perl 6 code, you can do that through Inline::Perl5. But automatic translation (if it works at all) typically doesn't produce good

Re: per 5 converter?

2017-02-12 Thread ToddAndMargo
On 02/12/2017 05:02 PM, Brandon Allbery wrote: On Sun, Feb 12, 2017 at 7:48 PM, ToddAndMargo <toddandma...@zoho.com> wrote: The case is, if I can't figure out the syntax i

Re: per 5 converter?

2017-02-12 Thread ToddAndMargo
On 02/12/2017 05:00 PM, yary wrote: There's Rosetta Code to compare short programs in different languages. Not as handy as what you are asking for, still it is educational To try it out I started at http://rosettacode.org/wiki/Category:Perl_6 to find all the pages that have P6 examples. I

Re: dry run?

2017-01-15 Thread ToddAndMargo
On 01/15/2017 10:39 AM, Brandon Allbery wrote: On Sun, Jan 15, 2017 at 5:32 AM, Richard Hainsworth wrote: Is your Perl (cap P) below correct?

Re: Any trick to installing a module in Windows?

2017-01-14 Thread ToddAndMargo
On 01/14/2017 02:31 PM, ToddAndMargo wrote: On 01/13/2017 07:45 PM, ToddAndMargo wrote: Hi All, I am trying to install Net::FTP in Windows 7. Panda's install is error city. Any trick to doing this? Many thanks, -T By any chance, do I need to install a compiler first? GCC? Follow up

Red Hat?

2016-08-21 Thread ToddAndMargo
Any sign of support for Perl 6 from Red Hat yet? CentOS, Fedora? -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

lwp. Where are the directions?

2016-08-21 Thread ToddAndMargo
Hi All, Where are the directions to use http://modules.perl6.org/#q=LWP (I do not have Perl 6 installed yet. I was hoping to find the directions on the web,) Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:12 AM, yary wrote: On Sun, Feb 26, 2017 at 7:13 AM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Undeclared routine: qw used at line 44 Use any other bracketing than parens, eg qw[a b c d] or qw/a b c d/ Parens are used

Re: Where is "Subject"?

2017-02-27 Thread ToddAndMargo
Hi All, Follow up on Net::SMTP: Thank you for all the help! I am posting this back to help others. And, yes, I know I don't have to use "~" so much. -T Comments: 1) "@to" is an array, not a string 2) the "To:", "From:", and "Subject:" are headers that you make up yourself. And they

Net::SMTP attachments?

2017-02-28 Thread ToddAndMargo
Hi All, Anyone know how to do an attachment with Net::SMTP. I need to attach a tar ball. I see this is Thunderbird's message source, but .. --0__=0ABB0A53DFD693F18f9e8a93df938690918c0ABB0A53DFD693F1 Content-type: image/gif; name="pic15602.gif" Content-Disposition: attachment;

Re: Terminal::ANSIColor problem

2017-02-28 Thread ToddAndMargo
On 02/28/2017 04:11 AM, yary wrote: On Tue, Feb 28, 2017 at 12:53 AM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: sub PrintRed ( $Str ) { print color('bold'), color('red'), "$Str", color('reset'); } sub PrintGreen ( $Str

Re: Terminal::ANSIColor problem

2017-02-28 Thread ToddAndMargo
On 02/28/2017 12:53 PM, Brandon Allbery wrote: On Tue, Feb 28, 2017 at 3:46 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: On 02/28/2017 04:11 AM, yary wrote: On Tue, Feb 28, 2017 at 12:53 AM, ToddAndMargo <toddan

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On 03/01/2017 01:27 PM, Brandon Allbery wrote: On Tue, Feb 28, 2017 at 4:04 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Anyone know how to do an attachment with Net::SMTP. Didn't you ask that a couple months ago, and I told you to look for a

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:56 PM, yary wrote: Hmm... use Terminal::ANSIColor;**//___^ by itself will import color and everything else. For selectively importing only what you want- which is good style IMHO- I looked up this https://docs.perl6.org/language/modules#___top which says "Note there

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:14 PM, ToddAndMargo wrote: And he doesn't link the POD. Where is the POD by the way? Found it: https://github.com/tadzik/Terminal-ANSIColor/commit/c95c318efe6ee1596d012146f4fed7e15f1f316e -- ~~ Computers are like air conditioners

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:59 PM, ToddAndMargo wrote: On 02/26/2017 05:14 PM, ToddAndMargo wrote: And he doesn't link the POD. Where is the POD by the way? Found it: https://github.com/tadzik/Terminal-ANSIColor/commit/c95c318efe6ee1596d012146f4fed7e15f1f316e This is better: https://github.com

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 06:02 PM, Brandon Allbery wrote: On Sun, Feb 26, 2017 at 8:14 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Speaking of syntax errors, what is wrong with these two lines (not used a the same time)? use Terminal::ANSICol

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 06:44 PM, Brandon Allbery wrote: It should be the first, but it appears to be unimplemented at present. Only tagged imports work (https://docs.perl6.org/language/modules#Exporting_and_Selective_Importing). "Note there currently is no way for the user to import a single object if

perl 5?

2016-11-16 Thread ToddAndMargo
Hi All, Would you guys tolerate a perl 5 question every so often? -T I still do not have perl 6 support on rhel 7.2 -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: What is rakudo-star?

2016-11-18 Thread ToddAndMargo
On Fri, Nov 18, 2016 at 8:54 PM, ToddAndMargo <toddandma...@zoho.com> wrote: Is this the right perl 6 for Fedora? rakudo-star-0.0.2016.07-1.fc24.x86_64.rpm Many thanks,

Where to start?

2016-11-18 Thread ToddAndMargo
Hi All, I just install rakudi-star in my Fedora 24 virtual machine. I know how to program and run things in perl 5. Can someone point me to a how to that will show me the basic template for running a perl 6 program in Linux. Also, do I need to run perl6 through a compiler or does it compile

What is rakudo-star?

2016-11-18 Thread ToddAndMargo
Is this the right perl 6 for Fedora? rakudo-star-0.0.2016.07-1.fc24.x86_64.rpm Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: Where to start?

2016-11-18 Thread ToddAndMargo
On 11/18/2016 06:34 PM, ToddAndMargo wrote: Hi All, I just install rakudi-star in my Fedora 24 virtual machine. I know how to program and run things in perl 5. Can someone point me to a how to that will show me the basic template for running a perl 6 program in Linux. Also, do I need to run

Re: perl 5?

2016-11-17 Thread ToddAndMargo
On 11/16/2016 11:27 PM, Jan Ingvoldstad wrote: On Thu, Nov 17, 2016 at 8:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: Hi All, Would you guys tolerate a perl 5 question

Re: perl 5?

2016-11-17 Thread ToddAndMargo
On 11/17/2016 05:34 AM, yary wrote: Addning to Jan's answer, PerlMonks is still a great place for answers on Perl5 topics (and even some Perl6) http://perlmonks.org/ > I still do not have perl 6

Re: Where to start?

2016-11-19 Thread ToddAndMargo
On 11/18/2016 06:34 PM, ToddAndMargo wrote: Hi All, I just install rakudi-star in my Fedora 24 virtual machine. I know how to program and run things in perl 5. Can someone point me to a how to that will show me the basic template for running a perl 6 program in Linux. Also, do I need to run

Re: autodie???

2016-11-20 Thread ToddAndMargo
On 11/20/2016 07:26 PM, Brandon Allbery wrote: On Sun, Nov 20, 2016 at 10:21 PM, ToddAndMargo <toddandma...@zoho.com> wrote: What does perl-autodie do (

autodie???

2016-11-20 Thread ToddAndMargo
What does perl-autodie do (RHEL 7)? yum install perl-autodie And why is it necessary to get Perl 6 to work?

Re: perl 6 on EPEL is getting close!

2016-12-14 Thread ToddAndMargo
On 12/10/2016 11:19 AM, ToddAndMargo wrote: EPEL = Extra packages for Enterprise Linux https://bugzilla.redhat.com/show_bug.cgi?id=1297077 --- Comment #8 from Fedora Update System <upda...@fedoraproject.org> --- rakudo-star-0.0.2016.11-1.el7 ha

JIT?

2017-01-11 Thread ToddAndMargo
Hi All, I was looking for downloading Perl 6 for windows from http://rakudo.org/downloads/star/ rakudo-star-2016.11-x86_64 (JIT).msi rakudo-star-2016.01-x86 (no JIT).msi Supposedly JIT is "Runtime optimization of hot code paths during execution" Don't have a clue what that is. The code

Re: JIT?

2017-01-11 Thread ToddAndMargo
On 01/11/2017 06:43 PM, yary wrote: You don't need JIT! It's an implementation detail that doesn't affect functionality. In theory it improves speed at which Perl6 code runs. In practice, it won't make a bit of difference with FTP

Simple windows code example needed

2017-01-11 Thread ToddAndMargo
Hi All, Please forgive me being a mooch here. Would some kind person please write me a simple Windows perl 6 script so that I can see the headers? A simple write "hello" to the screen will suffice. Many thanks, -T -- ~~ Computers are like air

Re: Simple windows code example needed

2017-01-12 Thread ToddAndMargo
On 01/11/2017 09:22 PM, Lloyd Fournier wrote: Ah. If that's the case I have nothing useful to contribute :| LL On Thu, Jan 12, 2017 at 4:15 PM Brandon Allbery wrote:

perl 6 equivalent of "use warnings"

2017-01-11 Thread ToddAndMargo
Hi All, Is there a perl 6 equivalent of perl 5's "use warnings"? Many thanks, -T

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: Need dynamic variables help

2017-01-13 Thread ToddAndMargo
On 01/13/2017 08:14 AM, Brandon Allbery wrote: This is also true for Perl 5, aside from it using . instead of ~ for concatenation. An error I constantly make. It is indeed a . not a + in Perl 5. Thank you! -- ~~ Computers are like air conditioners. They

Re: JIT?

2017-01-13 Thread ToddAndMargo
On 01/13/2017 05:18 AM, Steve Mynott wrote: The most important difference is that the JIT version is 64 bit and the "no JIT" is 32 bit. So if you are running a modern Windows you almost certainly want the 64 bit (JIT) version Also the JIT version is a more recent version. S I missed that

Re: panda's port?

2017-01-13 Thread ToddAndMargo
On 01/13/2017 05:09 PM, ToddAndMargo wrote: Hi All, Anyone know what port and protocol (tcp, udp) panda uses to install modules? Many thanks, -T Figured it out. It is using "git" or port 9418 tcp. -- ~~ Computers are like air co

panda install error

2017-01-13 Thread ToddAndMargo
Hi All, How do I fix this? Many thanks, -T # /usr/share/perl6/site/bin/panda install Net::FTP ==> Fetching Net::FTP ==> Building Net::FTP ==> Testing Net::FTP t/01-load.t . ok t/02-login.t ok t/03-directory.t ok t/04-list.t . ok # Failed test 'Get file

Re: Subroutine question

2017-01-13 Thread ToddAndMargo
On 01/13/2017 06:53 PM, Brandon Allbery wrote: On Fri, Jan 13, 2017 at 9:50 PM, ToddAndMargo <toddandma...@zoho.com> wrote: Is their example a boo-boo? :$type, # Optiona

Re: Any trick to installing a module in Windows?

2017-01-13 Thread ToddAndMargo
On 01/13/2017 07:47 PM, Brandon Allbery wrote: On Fri, Jan 13, 2017 at 10:45 PM, ToddAndMargo <toddandma...@zoho.com> wrote: I am trying to install Net::FTP in Win

Any trick to installing a module in Windows?

2017-01-13 Thread ToddAndMargo
Hi All, I am trying to install Net::FTP in Windows 7. Panda's install is error city. Any trick to doing this? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Subroutine question

2017-01-13 Thread ToddAndMargo
Hi All, I am reading up on subroutines over at: https://en.wikibooks.org/wiki/Perl_6_Programming/Subroutines The above states:    In a subroutine declaration, named parameters must come after    all required and optional positional

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

Re: zenity sub

2016-12-01 Thread ToddAndMargo
Richard On Thursday, December 01, 2016 08:00 PM, ToddAndMargo wrote: Hi All, In Perl 6 running on Linux, what would be the best way to get rid of the following system informational pop up (this from a bash script)? I other words, how do I do a window pop up in Perl6 for Linux? zenity

Re: zenity sub

2016-12-01 Thread ToddAndMargo
On 12/01/2016 12:19 PM, Timo Paulssen wrote: Surely you could already build a decent zenity-like in Perl 6 using GTK::Simple. But I suggest using qx for calling the zenity binary from your system. - Timo And examples too! :-) https://github.com/perl6/gtk-simple/tree/master/examples Thank

Re: zenity sub

2016-12-01 Thread ToddAndMargo
On 12/01/2016 12:19 PM, Timo Paulssen wrote: But I suggest using qx for calling the zenity binary from your system. Actually, I though it would be good training. Sometimes doing things the hard way teaches you something. -- ~~ Computers are like air

zenity sub

2016-12-01 Thread ToddAndMargo
Hi All, In Perl 6 running on Linux, what would be the best way to get rid of the following system informational pop up (this from a bash script)? I other words, how do I do a window pop up in Perl6 for Linux? zenity --info --title="$0 $ExtraTitle" --text "$InfoText" Many thanks, -T --

Re: serial communication over usb on linux

2017-01-02 Thread ToddAndMargo
On 01/02/2017 03:20 PM, Elizabeth Mattijsen wrote: Inline::Perl5 Hi Liz, Just a question on "Inline". I Perl 5, when passing arrays to a subroutine, I have to convert them to references (unless I only pass a single array and nothing else). When using "Inline", do you have to convert arrays

Re: perl 6 on EPEL is getting close!

2016-12-27 Thread ToddAndMargo
On 12/10/2016 11:19 AM, ToddAndMargo wrote: EPEL = Extra packages for Enterprise Linux https://bugzilla.redhat.com/show_bug.cgi?id=1297077 --- Comment #8 from Fedora Update System <upda...@fedoraproject.org> --- rakudo-star-0.0.2016.11-1.el7 ha

Re: panda install error

2017-01-14 Thread ToddAndMargo
On 01/13/2017 05:28 PM, ToddAndMargo wrote: Hi All, How do I fix this? Many thanks, -T # /usr/share/perl6/site/bin/panda install Net::FTP ==> Fetching Net::FTP ==> Building Net::FTP ==> Testing Net::FTP t/01-load.t . ok t/02-login.t ok t/03-directory.t ok t/

Re: Any trick to installing a module in Windows?

2017-01-14 Thread ToddAndMargo
On 01/13/2017 08:15 PM, Brandon Allbery wrote: On Fri, Jan 13, 2017 at 10:51 PM, ToddAndMargo <toddandma...@zoho.com> wrote: What ports are panda using other th

dry run?

2017-01-14 Thread ToddAndMargo
Hi All, Is there a Perl 6 equivalent of Perl 5's   Perl -c I want to check my program for errors without actually running it. Many thanks, -T What me forget my semicolons!  Never !!!  Okay, maybe every

Re: Any trick to installing a module in Windows?

2017-01-14 Thread ToddAndMargo
On 01/13/2017 07:45 PM, ToddAndMargo wrote: Hi All, I am trying to install Net::FTP in Windows 7. Panda's install is error city. Any trick to doing this? Many thanks, -T By any chance, do I need to install a compiler first? GCC? -- ~~ Computers

Re: dry run?

2017-01-15 Thread ToddAndMargo
On 01/15/2017 02:32 AM, Richard Hainsworth wrote: Is your Perl (cap P) below correct? Typo Thank you! One of the problems with google and Perl 6 is that you get buried with Perl 5 hits -- ~~ Computers are like air conditioners. They malfunction when you

Re: regex and performance question

2017-03-27 Thread ToddAndMargo
On 03/27/2017 10:43 AM, Brandon Allbery wrote: On Mon, Mar 27, 2017 at 1:10 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Am I reintroducing a "regex" It's a junction, not a regex. But junctions are even slower than regexes: they

Re: "not" question

2017-03-27 Thread ToddAndMargo
On 27/03/17 19:11, Timo Paulssen wrote: !"789" is just False. On 27/03/17 18:53, ToddAndMargo wrote: Hi All, What am I doing wrong in my "AND not 789"? $ perl6 -e 'my $x="abc123def456"; my $y="123"; if $x.contains( $y & "a

Re: "not" question

2017-03-27 Thread ToddAndMargo
On 03/27/2017 10:36 AM, Timo Paulssen wrote: On 27/03/17 19:26, ToddAndMargo wrote: and `none("789")` is the opposite of `contains`? Nah, the fact that anything in the junction means "contains" is just because you're feeding the junction through the contains method.

trivia question on zef

2017-03-27 Thread ToddAndMargo
Hi All, I do prefer Zef over Panda. Trivia question; the stuff I see happening at the beginning of a zef install, what is that? Perhaps a "C" compiler? -T -- ~ I am Windows I am the Blue Screen of Death No one hears your screams ~

gtk::simple progress bar?

2017-03-27 Thread ToddAndMargo
Hi All, Can GTK::Simple do a progress bar? Not seeing an example here: https://github.com/perl6/gtk-simple/tree/master/examples -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

  1   2   3   4   5   6   7   8   9   10   >