On 07/31/2018 12:28 PM, Marc Chantreux wrote:
hello people,
given the slides of my talk in the slides.vim format
(https://github.com/eiro/slides.vim), i want some of
them to be shown one bullet a slide. so when i have
this input:
› Renater et le libre
Sympa
FileSe
On 07/25/2018 12:23 PM, Brandon Allbery wrote:
here's been discussion about having -c run the optimize stage as well,
since some information needed for full checking doesn't exist in a
useful form until then.
I like the idea!
<mailto:toddandma...@zoho.com>> wrote:
> On Tue, Jun 19, 2018 at 10:50 PM, Todd Chester mailto:toddandma...@zoho.com>> wrote:
>> Dear Perl Developers,
>>
>> Would you please fix this `perl6 -c` checker error?
>>
>>
> On Tue, Jun 19, 2018 at 10:50 PM, Todd Chester
wrote:
>> Dear Perl Developers,
>>
>> Would you please fix this `perl6 -c` checker error?
>>
>> $ perl6 -v
>> This is Rakudo version 2018.05 built on MoarVM version 2018.05
>> implementing Perl 6.c
On 06/20/2018 08:58 AM, Brandon Allbery wrote:
A pipe is for communication with a process. "Piped to a file" means
what? What's the process you're communicating with?
More to the point, "run" is intended to be lower level, specifically so
you can directly control things. Things like redirec
On 06/20/2018 08:15 AM, Theo van den Heuvel wrote:
Hi all,
trying to make sense of the documentation on run:
https://docs.perl6.org/routine/run.
In particular the last part. I don't understand the adverbs :out and :
err there.
Can I set it up so that the output is piped into a file directl
On 06/19/2018 09:50 PM, Todd Chester wrote:
Dear Perl Developers,
Would you please fix this `perl6 -c` checker error?
$ perl6 -v
This is Rakudo version 2018.05 built on MoarVM version 2018.05
implementing Perl 6.c.
The checkers passes this line with Syntax OK
$ReturnStr, $CurlStatus
Dear Perl Developers,
Would you please fix this `perl6 -c` checker error?
$ perl6 -v
This is Rakudo version 2018.05 built on MoarVM version 2018.05
implementing Perl 6.c.
The checkers passes this line with Syntax OK
$ReturnStr, $CurlStatus = CurlDownloadFile $FileAddr,
$BaseFileName, %M
$ /opt/rakudo-pkg/bin/zef install IO::Socket::SSL
===> Searching for: IO::Socket::SSL
===> Searching for missing dependencies: OpenSSL
===> Fetching [FAIL]: IO::Socket::SSL:ver('0.0.1'):auth('github:sergot')
from git://github.com/sergot/io-socket-ssl.git
Aborting due to fetch failure:
IO::Socket
On 06/13/2018 11:28 PM, Todd Chester wrote:
Hi All,
$ perl6 -v
This is Rakudo version 2018.04 built on MoarVM version 2018.04.1
implementing Perl 6.c.
I have another `perl6 -c` bug to fix
$ perl6 -c GetUpdates.pl6
===SORRY!===
Could not find Term::termios at line 15 in:
/home
Hi All,
$ perl6 -v
This is Rakudo version 2018.04 built on MoarVM version 2018.04.1
implementing Perl 6.c.
I have another `perl6 -c` bug to fix
$ perl6 -c GetUpdates.pl6
===SORRY!===
Could not find Term::termios at line 15 in:
/home/linuxutil
/home/todd/.perl6
/usr/lib64/perl6/site
On 06/13/2018 12:27 PM, Brandon Allbery wrote:
use MONKEY-SEE-NO-EVAL;
Thank you. Someone had fun with that name!
Do I presume there is not other way around the issue?
On Wed, 13 Jun 2018 15:23:56 -0700 yary wrote
> Pet peeve, "$RunSpecific" with the quotes on either side is
exactly the same as $RunSpecific without the quotes. Perl isn't shell.
> > -y
Hi Yary,
Chuckle. Missed one. What?? Or two or three ...
This program that I have been co
Now I am getting silly.
How would I exclude the phrase "gm"?
$ p6 'if "def" ~~ /^<[d..z]-["gm"]>*$/ {say "y"} else {say "n"}'
Potential difficulties:
Quotes are not metacharacters in character classes
at -e:1
--> if "def" ~~ /^<[d..z]-⏏["gm"]>*$/ {say "y"} else {say "n"}
Repe
On Wed, May 16, 2018 at 9:05 PM, Todd Chester <mailto:toddandma...@zoho.com>> wrote:
On 05/16/2018 07:58 AM, Timo Paulssen wrote:
On 16/05/18 00:10, ToddAndMargo wrote:
What would the syntax be for d..z, but not g or m?
You can subtract [gm] from [d
On 05/16/2018 07:58 AM, Timo Paulssen wrote:
On 16/05/18 00:10, ToddAndMargo wrote:
What would the syntax be for d..z, but not g or m?
You can subtract [gm] from [d..z] like this:
say "c" ~~ /<[d..z]-[gm]>/;
say "d" ~~ /<[d..z]-[gm]>/;
say "f" ~~ /<[d..z]-[gm]>/;
say "g"
On 05/03/2018 10:52 PM, yary wrote:
What you really want is to change a quote to "inch" if the quote is
not at the start of the line, not preceeded by a comma, not followed
by a comma, and not at the end of a line.
$LabelStr ~~ s:global|"3/4\""|3/4 inch|;
But that will only fix inch when it
On Thu, May 3, 2018 at 8:55 PM, Todd Chester <mailto:toddandma...@zoho.com>> wrote:
Hi All,
But only a little bit off topic.
Windows 7 Pro, SP1, 32 bit
I created a Perl6 program for a customer. I created a shortcut
to it on the desktop. But Windows won't
Hi All,
But only a little bit off topic.
Windows 7 Pro, SP1, 32 bit
I created a Perl6 program for a customer. I created a shortcut
to it on the desktop. But Windows won't allow me to to copy
it to the task bar as perl6 is a batch file.
Looking at google, the trick of creating
cmd /
Hi All,
What I am trying to do is to replace a quote `"`
with `inches`, but NOT when the quote is followed
by a comma `,`.
In other words, ignore `",`
I am not having too good a time with it. What am I
doing wrong?
$ perl6 -e 'my $x=qw["44","7" ab","","999"]; say
"$x";$x~~s:g/\"(.)<-[,]>/ in
On 04/24/2018 11:30 AM, mimosinnet wrote:
This message appears when installing Linenoise
<---
$ zef install Linenoise
===> Installing: Linenoise:ver<0.1.1>:auth
Use of Nil in string context
in block at home#sources/0BDF8C54D33921FEA066491D8D13C96A7CB144B9
(Linenoise) line 15
--->
The above
On 01/18/2018 05:17 PM, mimosinnet wrote:
The '?' is not necessary
Indeed!
I use `.*?` when I do not want the wild card to be
"greedy"
When I have a choice of using either, I always use
`.*?` so I remember the difference and as a kind
of comment that tells me not to be greedy.
Thank you!
On 01/16/2018 12:57 AM, Elizabeth Mattijsen wrote:
On 16 Jan 2018, at 09:46, ToddAndMargo wrote:
I want to match the next two character (don't care what
they are) in the following
I will use ?? for the next two character, but that doesn't work
$x ~~ m/.*?(sd??).*/;
I want $0 to include the
On 30 November 2017 at 05:09, Todd Chester wrote:
Hi All,
Anyone know of a better download site for Perl 6 for
Windows 7, SP1, 32 bit (not 64) than?
http://rakudo.org/how-to-get-rakudo/
The 32 bit version is two years old.
Many thanks,
-T
On 11/30/2017 01:50 AM, Steve Mynott wrote
Hi All,
Anyone know of a better download site for Perl 6 for
Windows 7, SP1, 32 bit (not 64) than?
http://rakudo.org/how-to-get-rakudo/
The 32 bit version is two years old.
Many thanks,
-T
Hi All,
Without going into the reasons why, I was forced to write a
module that interfaces curl for Perl 6. The module will
1) download a web page
2) download a file from the web and will properly follow redirects
3) will create proper eMail headers and send an eMail. It
will auto sense h
Hi All,
wander_ over on the chat line helped me figure out a
vexing problem.
I needed to replace each individual leading space
in a line. Not remove all the leading white space or
replace it with a single character. Each space had
to be replaced with a sequence of characters and
leave the spac
On 10/04/2017 08:20 PM, Todd Chester wrote:
So in this context "{$x}" means insert (interpolate) a
variable into the list? I was thinking it meant to
insert a variable into a string. Did saying <<>>
automatically tell Perl6 that this was a list
and not a sting?
is
On 10/04/2017 12:48 PM, Andy Bach wrote:
> I think maybe I don't understand how <<>> is used in a
and how <<>> differs from a ""
<<>> is quoteword, no commas needed. You get back a list. "" create a
string, you get back a single thing.
my $z=<>;
(xyz abc def)
is the same as
my $z=<>;
(xy
On 09/21/2017 01:19 AM, Shlomi Fish wrote:
Hi Todd,
On Wed, 20 Sep 2017 23:22:41 -0700
ToddAndMargo wrote:
Hi All,
Can I call a pm6 directly from bash or do I
need to call a pl6 that calls the pm6?
why not use "perl6 -e"?
Regards,
Shlomi
perl6 -e'use MyPm6; ... ?
On 09/14/2017 09:10 AM, Timo Paulssen wrote:
You're reaching deep into rakudo's internals here, reaching an object
that doesn't know about pretty much any methods you might want to have,
and there's also no support for them in things like the ~~ operator, for
example.
You're getting the error
Hi All,
In Linux, how do I things to a perl6 one liner?
I want to send
ip -o -f inet addr show | perl6 ***dig out the netmask on eno1***
I know how to dig out the net mask, I just don't how to pipe
to the command.
Many thanks,
-T
Hi All,
I am trying to convert a p5 program to p6. What do I use in
place of `LWP::UserAgent`?
I use it for downloading files from the web. I need to be able
to pass the following to the web page:
Caller
Host
UserAgent
Referer
Cookies
This is the p5 code I want to convert:
On 07/25/2017 12:30 AM, Elizabeth Mattijsen wrote:
What do you mean by “the full Rakudo” ? Rakudo Star is the Rakudo compiler
release with a set of useful modules added (“batteries included”).
https://rakudo.perl6.org/downloads/star/
vs
https://rakudo.perl6.org/downloads/rakudo/
A
On 07/21/2017 01:57 AM, Mark Carter wrote:
On 21/07/2017 09:50, Todd Chester wrote:
I may be wrong, but I do believe what you want is called
"Rakudo Star". You can download it from
https://rakudo.perl6.org/downloads/star/
But no recent win 32-bit.
https://rakudo.perl6.org
On 07/21/2017 01:07 AM, Mark Carter wrote:
I noticed that there is no Windows 32-bit version of rakudo, and it
won't even compile on cygwin.
Are there plans for fixing this?
Hi Mark,
I may be wrong, but I do believe what you want is called
"Rakudo Star". You can download it from
https:/
Hi All,
I have been wondering about pl programs that are
used by the root account. I have been marking them
to root and 700 to keep other out. But it is occurring
to me, if the bad guys have access to my custom modules,
they could insert anything they want into it and have
root access. So, I h
On 06/21/2017 10:26 PM, Brandon Allbery wrote:
On Thu, Jun 22, 2017 at 1:18 AM, Todd Chester mailto:toddandma...@zoho.com>> wrote:
> On 22/06/17 14:49, Todd Chester wrote:
>> I know how to read things on the command line. But
>> how to other's figure o
> On 22/06/17 14:49, Todd Chester wrote:
>> Hi All,
>>
>> I know how to read things on the command line. But
>> how to other's figure out what goes together when things
>> don't arrive in order?
>>
>> For instance, from "man grep"
Hi All,
I know how to read things on the command line. But
how to other's figure out what goes together when things
don't arrive in order?
For instance, from "man grep"
-E, --extended-regexp
Interpret PATTERN as ...
-F, --fixed-strings
Interpret PATTERN as ...
T
On 03/09/2017 02:22 PM, Theo van den Heuvel wrote:
Is this what you are looking for?
our $IAm is export;
( $IAm = $?FILE ) ~~ s|.*"/"||;
Hi Theo,
Almost. I only want the code inside the module (pm)
to see it. I don't want it exported.
On the other hand, you just taught me h9owto
On 02/28/2017 11:06 PM, Andrew Kirkpatrick wrote:
The zip operator in this case takes two sequences and interleaves them
into a single sequence. It might be useful if you have handy or can
generate a list of keys and a list of values you want to put together
in pairs using => to create a hash t
On 03/01/2017 12:45 AM, Richard Hainsworth wrote:
Todd,
As Andrew explained Z takes two arrays and an operator, eg. =>, or +,
and then 'runs' the operator on the elements of the two lists.
Here, you defined @x as a list of strings. I defined two lists, one of
keys and one of values. Then I zi
On Wednesday, March 01, 2017 01:01 PM, Todd Chester wrote:
Hi All,
And it even gets more interesting.
It even works with Associative Arrays (Hashes), which I adore!
Interesting how associative arrays don't print in order that they
were entered into the array.
#!/usr/bin/perl6
my @x =
Hi All,
And it even gets more interesting.
It even works with Associative Arrays (Hashes), which I adore!
Interesting how associative arrays don't print in order that they
were entered into the array.
#!/usr/bin/perl6
my @x = ( "a", "b", "c", "d" );
print "loop of \@x\n";
for @x.kv -> $inde
On 02/28/2017 01:30 PM, yary wrote:
Maybe using placeholder variables was a bit too much (those variables
with the ^ twigil)
for @a.kv -> $k, $v { say "Value $v has index $k" }
Value g has index 0
Value h has index 1
Value i has index 2
Value j has index 3
Value k has index 4
Hi Yary,
On 02/28/2017 01:25 PM, Elizabeth Mattijsen wrote:
On 28 Feb 2017, at 22:20, ToddAndMargo wrote:
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 k
On 02/28/2017 01:20 PM, ToddAndMargo wrote:
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 com
On Tue, Feb 28, 2017 at 01:20:47PM -0800, ToddAndMargo wrote:
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
On 02/28/2017 04:11 AM, yary wrote:
You don't need the double quotes around $Str- not even in Perl5!
Hi Yary,
You made me think of where I picked up that particular "bad habit".
I go it, not from Perl 5, but from bash programming, where
all h*** breaks loose if you don't quote things.
:-)
-T
On 01/17/2017 12:52 PM, Will Coleda wrote:
Note that you can also set the environment variable GIT_PROTOCOL to
https or ssh to use those protocols on their various ports,
respectively.
(Useful when behind a corporate firewall and http proxy)
$ GIT_PROTOCOL=https panda install JSON::Fast
Hi
On Fri, Jan 13, 2017 at 10:01 AM, Todd Chester <mailto:toddandma...@zoho.com>> wrote:
Hi All,
I am trying to understand how to read variables from the
shell's environment. I am reading this:
https://docs.perl6.org/language/variables#Dynamic_variab
Hi All,
I am using Fedora Core 25. There is no sign of "panda"
in the repo (or I don't know what it is called).
I need to install Net::FTP. No sign of that in the repos either
(or I don't know what it is called either).
How do I install Net::FTP?
Many thanks,
-T
Hi All,
I am trying to understand how to read variables from the
shell's environment. I am reading this:
https://docs.perl6.org/language/variables#Dynamic_variables
#!/usr/bin/perl6
# print "Display = " + %*ENV{'DISPALY'} + "\n";
print "Perl Version = " + $*PERL + "\n";
$ ./env.pl6
Cannot
101 - 154 of 154 matches
Mail list logo