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

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

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.

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

Re: reverse of .lines?

2017-02-17 Thread yary
On Fri, Feb 17, 2017 at 9:52 PM, ToddAndMargo wrote: > @Lines = $StringFullOfLineFeeds.lines @Lines = $StringFullOfLineFeeds.lines.reverse -y

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 > wrote: What is the difference between these two commands and why would you use ".perl"? say "$ServiceName"; say

Re: what is ".perl"?

2017-02-17 Thread Brandon Allbery
On Fri, Feb 17, 2017 at 9:47 PM, ToddAndMargo wrote: > What is the difference between these two commands and why would > you use ".perl"? > >say "$ServiceName"; >say $ServiceName.perl; > The first uses .gist, which produces a summary of an object ("just the

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

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

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