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: references and pointers jargon question

2016-01-13 Thread ToddAndMargo
> On Wed, Jan 13, 2016 at 5:36 PM, ToddAndMargo <toddandma...@zoho.com > <mailto:toddandma...@zoho.com>> wrote: > > Hi All, > > Just out of curiosity, is the word "Pointer" a "forbidden" word > in Perl 6 correspondences? Will us

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

2016-01-13 Thread ToddAndMargo
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 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

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}/ ) {

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

references and pointers jargon question

2016-01-13 Thread ToddAndMargo
Hi All, Just out of curiosity, is the word "Pointer" a "forbidden" word in Perl 6 correspondences? Will using the two together "Reference Pointer" get me in hot water? -T -- ~~ Computers are like air conditioners. They malfunction when you open windows

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-06 Thread ToddAndMargo
On 02/06/2017 08:32 AM, Larry Wall wrote: On Sat, Feb 04, 2017 at 08:39:52PM -0800, ToddAndMargo wrote: : Are there any special rules, like in Perl 5? Do I need to : pre-declare the sub? : : sub BummerDude ($); : sub BummerDude ($) { do something; } For normal subs, you never have to predeclare

Re: Can I call myself

2017-02-04 Thread ToddAndMargo
On 2017-02-04 12:34 AM, ToddAndMargo wrote: 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

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

Re: need {} help

2017-02-18 Thread ToddAndMargo
On 02/18/2017 04:47 PM, Timo Paulssen wrote: / doesn't have a meaning in regex, but it's not an alpha character, so if you want to "match literally" it "must be quoted" as the first error message tells you. On top of that, balanced characters like () and {} aren't allowed for the s/// form

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! --

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 --

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: print to STDERR problem

2017-02-18 Thread ToddAndMargo
On 02/18/2017 07:35 PM, Brandon Allbery wrote: On Sat, Feb 18, 2017 at 10:33 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: am having issues writing to STDERR. I am using this as a reference: https://perl6.org/archive/rfc/30.htm

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! -- ~~~

intercept STDERR

2017-02-17 Thread ToddAndMargo
Hi All, In Net::SMTP, we have: $debug when set to a true value, will print the SMTP traffic to stderr. Is there an easy way to intercept this so I can analyze if the mail went through properly? Many thanks, -T -- ~~ Computers are like air

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

Re: sub for die?

2017-02-17 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

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

reverse of .lines?

2017-02-17 Thread ToddAndMargo
Hi All, Is there a reverse of .lines? Original code: @SystemCtl = qx ( systemctl -la ).lines; I presume this is the same as the original code: @Lines = $StringFullOfLineFeeds.lines; Would the reverse be sometime like this? $StringFullOfLineFeeds = @Lines.reverselines; Many thanks, -T --

Re: reverse of .lines?

2017-02-17 Thread ToddAndMargo
On 02/17/2017 07:26 PM, yary wrote: On Fri, Feb 17, 2017 at 9:52 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: @Lines = $StringFullOfLineFeeds.lines @Lines = $StringFullOfLineFeeds.lines.reverse -y

Re: clipboard and ps questions?

2017-02-23 Thread ToddAndMargo
On 02/23/2017 06:08 PM, yary wrote: On Thu, Feb 23, 2017 at 7:09 PM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: But ... it calls xclip (Linux), pbcopy (OS X), or clip (Windows), so you might as well call these programs directly with qx or qq

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. ~~~

Re: Where is "Subject"?

2017-02-24 Thread ToddAndMargo
On 02/23/2017 11:50 PM, Luca Ferrari wrote: On Fri, Feb 24, 2017 at 7:51 AM, ToddAndMargo <toddandma...@zoho.com> wrote: Hi All, Am I blind or is there nowhere to set the subject of an eMail in Net::SMTP? I suspect it is implementing a quite low-level interface: smtp does not know an

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: 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

Re: Where is "Subject"?

2017-02-24 Thread ToddAndMargo
On 02/24/2017 04:05 AM, Luca Ferrari wrote: "$Subject$StringFullOfLineFeeds); Guilty as charged. I missed the quote at the end of the line. -- ~~ Computers are like air conditioners. They malfunction when you open windows

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

Your thoughts on Padre?

2017-02-24 Thread ToddAndMargo
http://padre.perlide.org/ Any good for Perl 6? You have a better one you like?

Re: print to STDERR problem

2017-02-19 Thread ToddAndMargo
On 02/19/2017 07:15 AM, Timo Paulssen wrote: Oh, another question: please tell us how you reached that site? I expect you did a google search or something; can you tell us what search terms you've used to get there? We should obviously improve the docs so that they get found instead of the

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 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: 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 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-13 Thread ToddAndMargo
On 02/12/2017 05:12 PM, Darren Duncan wrote: On 2017-02-12 5:08 PM, ToddAndMargo wrote: I presume my eyes would tell where I made the boo-boo. Lets hope! I am real tired of Perl 5's stone age subs declarations. @_, oh brother. In principle there is nothing wrong with @_ at least from

Re: dry run?

2017-01-17 Thread ToddAndMargo
On 01/17/2017 04:56 AM, Luca Ferrari wrote: On Sun, Jan 15, 2017 at 10:36 PM, ToddAndMargo <toddandma...@zoho.com> wrote: One of the problems with google and Perl 6 is that you get buried with Perl 5 hits In the mantime builtin documentation can help save the day: % perl6 --help [...]

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?

inline question

2017-01-17 Thread ToddAndMargo
Hi All, Does Perl 5 have to be installed to get Inline work? Or just a path to the downloaded perl5 module(s)? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: inline question

2017-01-17 Thread ToddAndMargo
On 01/17/2017 09:50 AM, Brandon Allbery wrote: Inline::Perl5 loads Perl 5 with hooks, so yes, it must be installed. Bummer. Thank you for the help! -- ~~ Computers are like

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-27 Thread ToddAndMargo
On 02/26/2017 04:13 AM, ToddAndMargo wrote: Hi All, Reference: https://github.com/tadzik/Terminal-ANSIColor/ How do I clean this Perl 5 line for Perl 6? 44: use Terminal::ANSIColor qw( BOLD BLUE RED GREEN RESET ); # perl6 -c CimTrakCheckAndResatart.pl6 ===SORRY!=== Error while compiling

Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
Hi All, Reference: https://github.com/tadzik/Terminal-ANSIColor/ How do I clean this Perl 5 line for Perl 6? 44: use Terminal::ANSIColor qw( BOLD BLUE RED GREEN RESET ); # perl6 -c CimTrakCheckAndResatart.pl6 ===SORRY!=== Error while compiling /home/linuxutil/CimTrakCheckAndResatart.pl6

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
On 02/27/2017 11:34 PM, ToddAndMargo wrote: 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

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

for loop index question

2017-02-28 Thread ToddAndMargo
Hi All, There are times when I want to know th4e index of an array when I am in a "for @array" loop. I can do it with a variable outside the for loop and increment it, but I would line to know know if there is a way to incorporate it in the loop command. This is my long winded way of doing it

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

Hidden partitions question

2017-02-28 Thread ToddAndMargo
Hi All, In Windows 7 Pro, I know that several backup programs are able to manipulate files on hidden NTFS partitions. Is there a Perl6 way to do this? (I am trying to avoid mounting with a drive letter to end around ransomware.) Many thanks, -T -- ~ I am Windows I

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 07:28 AM, yary wrote: On Sun, Feb 26, 2017 at 8:21 AM, ToddAndMargo <toddandma...@zoho.com <mailto:toddandma...@zoho.com>> wrote: Now what am I doing wrong? Read the POD! I was over here at https://github.com/tadzik/Terminal-ANSIColor/ &qu

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 ~~

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

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,

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 08:18 AM, Brandon Allbery wrote: On Thu, Nov 17, 2016 at 2:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: Would you guys tolerate a perl 5 question every so

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?

perl 6 on EPEL is getting close!

2016-12-10 Thread ToddAndMargo
EPEL = Extra packages for Enterprise Linux https://bugzilla.redhat.com/show_bug.cgi?id=1297077 --- Comment #8 from Fedora Update System --- rakudo-star-0.0.2016.11-1.el7 has been submitted as an update to Fedora EPEL 7.

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

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

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

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:

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 -- ~~

  1   2   3   4   5   6   7   8   >