n and Webmin web hosting control panel are written in Perl 5
>
> Good day from Singapore,
>
> I understand that Virtualmin and Webmin web hosting control panel are
> written in Perl 5.
>
> Source: In which perl framework is webmin written into?
> Link: https://archive.virtualm
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5
Good day from Singapore,
I understand that Virtualmin and Webmin web hosting control panel are
written in Perl 5.
Source: In which perl framework is webmin written into?
Link: https://archive.virtualmin.com/node
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5
Good day from Singapore,
I understand that Virtualmin and Webmin web hosting control panel are
written in Perl 5.
Source: In which perl framework is webmin written into?
Link: https://archive.virtualmin.com/node
On Mon, Mar 13, 2017 at 11:32:25AM -0700, Sean McAfee wrote:
> In Perl 5 ...
> 1 == (my ($script) = $page->find('//script'))
> or die "Other than exactly one script element found";
> Can a similar expression that avoids an intermediate array variab
On 13/08/2019 16:32, Brad Gilbert wrote:
> Perhaps the biggest one may be the one about passing around “fates”.
> (I barely understand the basics of this.)
The optimization opportunity Brad is refering to here is relevant mostly
to grammars with deeply nested multi-tokens:
or *anyone else interested*):
>
> Jonathan did a talk in Riga, Perl 6 performance update,
> https://perlcon.eu/talk/80
> The (re-uploaded) live stream is at
> https://www.youtube.com/watch?v=S5iVBlk7pdg#t=4h39m
>
> One thing that this talk revealed is that (currently) Perl 5 be
FWIW, at one time there was discussion that "" and ""
are actually keywords and not typical method calls that can be overridden,
precisely so optimizations can be made. They're that important to
efficient running of the regexes.
I'm not sure that a formal decision was ever made on this,
> use v6;
> 'abcd' ~~ / . <.before( /c/ )> . / # "bc"
> 'abcd' ~~ / . <.before c > . / # "bc" # (exactly identical)
>
> A person could change the code in the `before` method to have it do
> something different
At least at the moment, that's not 100% accurate (only by virtue
e,
> https://perlcon.eu/talk/80
> The (re-uploaded) live stream is at
> https://www.youtube.com/watch?v=S5iVBlk7pdg#t=4h39m
>
> One thing that this talk revealed is that (currently) Perl 5 beats
> Rakudo on various regular expressions. What *I* know is that this is
> because
> Perl 5 che
One thing that this talk revealed is that (currently) Perl 5 beats
Rakudo on various regular expressions. What *I* know is that this is because
Perl 5 cheats - it has an "optimiser", which happens to automatically do
what jnthn then showed manually implemented in some of his benchmarks.
Y
t;curl", where there are no issues
> with redirects, user agent stings, cookies, and such.
>
> My curl module also allows me to send eMail, including SSL
> and one attachment.
>
> The one drawback of Perl 6 over Perl 5 is the lack of
> mature module support, but things are always improving!
>
> :-)
>
> -T
>
--
JJ
nt stings, cookies, and such.
My curl module also allows me to send eMail, including SSL
and one attachment.
The one drawback of Perl 6 over Perl 5 is the lack of
mature module support, but things are always improving!
:-)
-T
Hi Todd,
On Sun, 13 May 2018 22:07:59 -0700
ToddAndMargo <toddandma...@zoho.com> wrote:
> On 05/13/2018 09:41 PM, ToddAndMargo wrote:
> > Hi All,
> >
> > I can't not remember what I did in Perl 5 here and
> > am not having a good time converting it to Perl 6.
&
com>)
escribió:
> >> El lun., 14 may. 2018 a las 7:08, ToddAndMargo (<toddandma...@zoho.com
> >> <mailto:toddandma...@zoho.com>>) escribió:
> >>
> >> On 05/13/2018 09:41 PM, ToddAndMargo wrote:
> >> > Hi All,
> >> >
El lun., 14 may. 2018 a las 7:08, ToddAndMargo (<toddandma...@zoho.com
<mailto:toddandma...@zoho.com>>) escribió:
On 05/13/2018 09:41 PM, ToddAndMargo wrote:
> Hi All,
>
> I can't not remember what I did in Perl 5 here and
> am not havin
On 05/13/2018 09:41 PM, ToddAndMargo wrote:
Hi All,
I can't not remember what I did in Perl 5 here and
am not having a good time converting it to Perl 6.
$ perl -e 'my $A="44.rc0"; if ($A ~~ /(^[0-9,.,a,b,rc]+$)/ ) {print
"$1\n";} else {print "\$A = <$A>
Hi All,
I can't not remember what I did in Perl 5 here and
am not having a good time converting it to Perl 6.
$ perl -e 'my $A="44.rc0"; if ($A ~~ /(^[0-9,.,a,b,rc]+$)/ ) {print
"$1\n";} else {print "\$A = <$A>\n"}'
44.rc0
The actual code is:
if
suite
> > > of tests that show the differences.
> >
> > Suite has been updated considerably.
>
> In a benchmark on my local machine, after many improvements, I now see
> Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being
> used:
...
suite
> > > of tests that show the differences.
> >
> > Suite has been updated considerably.
>
> In a benchmark on my local machine, after many improvements, I now see
> Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being
> used:
...
on my local machine, after many improvements, I now see Perl 6
coming out slightly ahead of Perl 5 when the UTF-8 encoding is being used:
$ time perl6 -e 'my $fh = open "longfile"; my $chars = 0; for $fh.lines {
$chars = $chars + .chars }; $fh.close; say $chars'
6000
real0m1.0
on my local machine, after many improvements, I now see Perl 6
coming out slightly ahead of Perl 5 when the UTF-8 encoding is being used:
$ time perl6 -e 'my $fh = open "longfile"; my $chars = 0; for $fh.lines {
$chars = $chars + .chars }; $fh.close; say $chars'
6000
real0m1.0
Of course there should have been a "," between (list) and $othervar.
But perl5 won't accept
for $var (list) $othervar (anotherlist) { ... }
right?
So we definitely shouldn't complain, or at least we should point out the
workaround of putting a dot between $var and (list)
On 30/03/17 03:51, Brandon Allbery wrote:
> That *is* Perl 5 syntax, though; it lo
That *is* Perl 5 syntax, though; it looks like the schema
for $var (list) { ... } # the space is not required between the var and
the parenthesized list
On Wed, Mar 29, 2017 at 9:35 PM, Aleks-Daniel Jakimenko-Aleksejev <
perl6-bugs-follo...@perl.org> wrote:
> # New Ticket Created
RRY!=== Error while compiling -e
This appears to be Perl 5 code
at -e:1
--> my $x = *²; for ⏏$x(42), $x(50) { say $_ }
The == operator coerces to Numeric, so like:
> sub one-thing { return ("hi",) }
sub one-thing () { #`(Sub|93867233982256) ... }
> one-thing.Numeric
1
(mentioned in https://docs.perl6.org/routine/$EQUALS_SIGN$EQUALS_SIGN)
I think my does indeed do some fancy precidenting with the assignment.
t;,) }
> sub one-thing () { #`(Sub|140454852043936) ... }
> > 1 == my $script = one-thing
> True
> > $script
> (hi)
>
>
But then:
> $script.WHAT
(List)
In the Perl 5 version, $script is assigned the single element of the
returned list. In your code, it refers to the list it
> sub two-things { return }
sub two-things () { #`(Sub|140454852044088) ... }
> 1 == my $bar = two-things
False
> $bar
(hi there)
On Mon, Mar 13, 2017 at 2:32 PM, Sean McAfee <eef...@gmail.com> wrote:
> In Perl 5, list assignment in scalar context evaluates to the number of l
In Perl 5, list assignment in scalar context evaluates to the number of
list elements on the right-hand side. That enables an idiom that I rather
like:
1 == (my ($script) = $page->find('//script'))
or die "Other than exactly one script element found";
Can a simil
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
On Thu, Nov 17, 2016 at 3:03 PM, ToddAndMargo <toddandma...@zoho.com> wrote:
> And quiet a few perl 5 programmers are REALLY GRUMPY/CRABBY
> about perl 6. I don't get it.
>
I think mostly this is history: the original perl 6 development team
languished for many years producing ba
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
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
On Thu, Nov 17, 2016 at 2:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote:
> Would you guys tolerate a perl 5 question every so often?
Quite a few of the folks who work on Perl 6 don't know Perl 5, or at least
know it only incidentally.
--
brandon s allb
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 support on rhel 7.2
Don't know how much of an "early adopter" you want to be- if that's
an option, try building Rakudo from source, so
On Thu, Nov 17, 2016 at 8:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote:
> Hi All,
>
> Would you guys tolerate a perl 5 question every so often?
>
>
Perl 5 questions that relate to Perl 6 would probably be on topic.
If what you want is help with Perl 5 for Perl 5's s
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
~~
>> so I copied
git_reference/MoarVM/src/platform/posix/time.c
>> to
moar-nom/nqp/MoarVM/src/platform/posix/time.c
>> and now it builds.
On Tue, Nov 15, 2016 at 12:15 PM, Tobias Leich wrote:
> Hi, if you let raukdo automatically rebuild nqp/moar, then you still were
> on an
Hi, if you let raukdo automatically rebuild nqp/moar, then you still
were on an old revision of moarvm.
This revision did not contain the latest patch.
Please rebuild now, as I've updated the git revisions, so latest nqp and
moarvm get build.
Am 15.11.2016 um 18:14 schrieb Brandon Allbery:
On Tue, Nov 15, 2016 at 8:53 AM, Andy Bach wrote:
>
> Well, I just nuked and built moar-nom here OSX 10.11.6/Xcode 8
>
This is not a MoarVM problem; it's a bug in the Xcode 8 (and 8.1) Command
Line Tools and documented (poorly) in the Xcode 8 release notes. You must
download
oar-nom/nqp/MoarVM/src/platform/posix/time.c
On Tue, Nov 15, 2016 at 6:23 AM, wrote:
> Hi, we addressed it here
Well, I just nuked and built moar-nom here OSX 10.11.6/Xcode 8
15.6.0 Darwin Kernel Version 15.6.0: Wed Nov 2 20:30:56 PDT 2016;
Hi, we adressed it here:
https://github.com/MoarVM/MoarVM/commit/20c8591ad7644926e09691da8c2a9179b11ac53e
Zitat von Andy Bach :
Hi,
Turns out this bug was filed for p5 (I thought I was looking at the p6 bug
list) but I saw this exactly today, trying to build, via
Hi,
Turns out this bug was filed for p5 (I thought I was looking at the p6 bug
list) but I saw this exactly today, trying to build, via rakudobrew, on my
mac book. Just checking if this is a known thing or not.
--
a
Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk
On Saturday, October 22, 2016, Elizabeth Mattijsen via RT <
perl6-bugs-follo...@perl.org> wrote:
> Would you believe it used to be a lot slower still?
>
> Anyways, what does P6/P5 mean?? If it’s the runtimes divided, I get
> values between 9 and 10 or so. Which would be less surprising to me.
6-read-write-tests> for a suite
> of tests that show the differences.
>
> For example (from the link above):
>
> Results of recent file read tests
>
> Date | Rakudo Version | File Size (lines) | Perl 5
> RT | Perl 6 RT | P6/P5
>
that show the differences.
For example (from the link above):
Results of recent file read tests
Date | Rakudo Version | File Size (lines) | Perl 5
RT | Perl 6 RT | P6/P5
==
2016-10-18 | 2016.10-16-geb6907e |
s, that at least handles a common subset
> of Perl 5 code. I expect having one will be a priority if it isn't around
> now.
There are at least two source code translators in progress:
http://search.cpan.org/dist/Perl-ToPerl6/
https://github.com/Util/Blue_Tiger/
They probably help but I'd
t;> If you mean a source code translator, I don't know of one right now but I
>> wouldn't be surprised if one exists, that at least handles a common subset
>> of Perl 5 code. I expect having one will be a priority if it isn't around
>> now.
>
> There are at least two s
o's website is down.
>
> ( For manual translation, read all of the 5to6-* docs at the top of
> http://docs.perl6.org/language.html , or email me ).
>
> Below, I have a terminal log of installation and execution of both
> translators.
..
Perl 5 source
==
> my @aaa
Tom Browder <tom.brow...@gmail.com> writes:
> Perl 5 source
> ==
>> my @aaa = qw( a b c d e f g );
>> for my $c (@aaa) {
>
> Perl::ToPerl6
> =
>> my @aaa = qw ( a b c d e f g );
>> for (@aaa) -> $c {
>
> Blue_Tiger
> ==
On Thu, Jan 21, 2016 at 12:00 PM, Aaron Baugher <aa...@baugher.biz> wrote:
> Tom Browder <tom.brow...@gmail.com> writes:
...
>> For the example Perl 5 input I like the Blue_Tiger translation, except
>> I haven't so far found an description of the '<->' operator
Tom Browder writes:
> Thanks, Aaron, good explanation. But can you find a description of
> '<->' in the Perl 6 docs?
It's mentioned here: https://doc.perl6.org/language/control#for
And here, where it's called the "double-ended arrow", though I don't know how
official
On Thu, Jan 21, 2016 at 01:39:15PM -0600, Aaron Baugher wrote:
> Tom Browder writes:
>
> > Thanks, Aaron, good explanation. But can you find a description of
> > '<->' in the Perl 6 docs?
>
> It's mentioned here: https://doc.perl6.org/language/control#for
>
> And here,
On Thu, Jan 21, 2016 at 1:39 PM, Aaron Baugher wrote:
> Tom Browder writes:
>
>> Thanks, Aaron, good explanation. But can you find a description of
>> '<->' in the Perl 6 docs?
>
> It's mentioned here: https://doc.perl6.org/language/control#for
...
> I
On 2016-01-20 5:02 PM, ToddAndMargo wrote:
or is it all by hand?
If you mean a source code translator, I don't know of one right now but I
wouldn't be surprised if one exists, that at least handles a common subset of
Perl 5 code. I expect having one will be a priority if it isn't around now
or is it all by hand?
--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
On Mon, Jan 18, 2016 at 6:47 AM, Kamil Kułaga wrote:
> You may be happy with =finish block
...
Thanks, Kamil!
-Tom
You may be happy with =finish block
use v6;
say $=finish.split("\n").perl;
=finish
_
I like pancakes
And apples
On Sat, Jan 16, 2016 at 8:07 PM, Tom Browder wrote:
> I have tried this in my Perl 6 code (v6.c):
>
> =begin DATA
> blah
> blah2
>
I have tried this in my Perl 6 code (v6.c):
=begin DATA
blah
blah2
=end DATA
Then:
for $=DATA.lines -> $line {
# process a line
}
but I get this message:
Pod variable @=DATA not yet implemented. Sorry.
Is there any workaround for this other than putting the data in an array?
Thanks.
Best
e 'use strict;' is good enough for those cases when
you really need to be strict in one-off scripts.
Specifying -E instead of -e to do the same seems a good way to confuse
people, considering the apparent similarity to the Perl 5 options. There
are only so many context switches a human brain
02.09.2015, 16:42, "Robert Strahl via perl6-users" :
> I don't understand why some people feel so strongly that one-liners should
> be strict. That would undermine what a one-liner is — a quick way to get
> something done. I use perl5 one-liners very frequently for text
to disable it.
>
>
>
> 28.08.2015, 17:48, "Carl Mäsak" <cma...@gmail.com>:
> > Moritz (>>), Tux (>):
> >>> I could continue with other Perl 5 deficiencies (no strict by default,
> >>
> >> Using strict *STILL* is not
, so perl6 -e 'no
strict; ..' is to my knowledge only option to disable it.
28.08.2015, 17:48, "Carl Mäsak" <cma...@gmail.com>:
> Moritz (>>), Tux (>):
>>> I could continue with other Perl 5 deficiencies (no strict by default,
>>
>> Using s
On Fri, Aug 28, 2015 at 05:48:07PM +0200, Carl Mäsak wrote:
> Good news! I just pushed a change (with backing from other core
> developers) that makes -e strict by default!
awesome! thank you Carl!
--
Marc Chantreux (eiro on github and freenode)
http://eiro.github.com/
Moritz (), Tux ():
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners either:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;'
===SORRY
...@gmail.com wrote:
Moritz (), Tux ():
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners either:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say
On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux kha...@phear.org wrote:
complete different usage but it would be nice to have a flag for use
strict both in perl5 and 6
/me nominates -W as a bigger -w .. oh wait, -W already exists as a
depreciated-in-my-view perl5 flag.
In that case, I also like
for info (not that, at the moment, they necessarily *are* more
correct/reliable - work in progress and all...).
All that said, there doesn't, at a quck glance, seem to be any
equivalent to Perl 5's perlrun document, which would detail the
command line flags. Maybe I'll take a shot at something
On Wed, Aug 26, 2015 at 02:00:09PM -0400, Brandon Allbery wrote:
It used to be, but that was not according to spec. FROGGS++ implemented
the lax mode, which is enabled by default in one-liners. Perhaps TimToady
wants to invoke rule #2 on this.
Personally, I use an alias that has ‘-M
On Wed, Aug 26, 2015 at 1:58 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote:
It used to be, but that was not according to spec. FROGGS++ implemented
the lax mode, which is enabled by default in one-liners. Perhaps TimToady
wants to invoke rule #2 on this.
Personally, I use an alias that has
On 26 Aug 2015, at 12:18, H.Merijn Brand h.m.br...@xs4all.nl wrote:
On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org
wrote:
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners
On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org
wrote:
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners either:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict
On Wed, Aug 26, 2015 at 3:26 AM, Moritz Lenz mor...@faui2k3.org wrote:
Hi,
On 11.08.2015 14:12, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but
they all seem to be lists that intermix features with varying degrees of
value to ordinary Perl 5 users
Hi,
On 11.08.2015 14:12, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but
they all seem to be lists that intermix features with varying degrees of
value to ordinary Perl 5 users. If one wants to sell long-time Perl 5
users (already using the latest Perl 5
On Wed, Aug 26, 2015 at 12:18:46PM +0200, H.Merijn Brand wrote:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;'
===SORRY!=== Error while compiling -e
Variable '$thıs' is not declared. Did you mean '$this'?
at -e:1
-- my Int
On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com
wrote:
The reason for my request is to help with a better introduction in my
modest draft tutorial on converting Perl 5 to Perl 6 code at the Perl
Monastery. I am comfortable with the example code I use there (which
On Wed, Aug 12, 2015 at 4:02 AM, Kamil Kułaga teodoz...@gmail.com wrote:
One thing that was not mentioned already is using Rat instead of
standard floating point number. It prevents many silly mistakes
especially when counting money.
Thanks, Kamil.
-Tom
On Tue, Aug 11, 2015 at 6:41 PM, Andrew Kirkpatrick uberm...@gmail.com wrote:
Built-in facilities for the language to parse, transform and extend
...
Thanks, Andrew.
-Tom
On Wed, Aug 12, 2015 at 2:00 AM, H.Merijn Brand h.m.br...@xs4all.nl wrote:
On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com
...
*THE* killer feature that will be seen by all beginning perl6
programmers is its awesome error messages. It is a shame that
...
Thanks!
-Tom
5) but they
all seem to be lists that intermix features with varying degrees of value to
ordinary Perl 5 users. If one wants to sell long-time Perl 5 users
(already using the latest Perl 5, Moose, etc.) on the value of Perl 6, what
should be on the important feature list?
For me, stronger
Hi,
On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but they
all seem to be lists that intermix features with varying degrees of value
to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users
(already
On Tue, Aug 11, 2015 at 8:45 PM, Fagyal Csongor
csongor.fag...@kepesmedia.com wrote:
On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but they
all seem to be lists that intermix features with varying degrees of value
I have seen several lists of new Perl 6 features (versus Perl 5) but they
all seem to be lists that intermix features with varying degrees of value
to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users
(already using the latest Perl 5, Moose, etc.) on the value of Perl 6, what
, Tom Browder tom.brow...@gmail.com wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but they
all seem to be lists that intermix features with varying degrees of value to
ordinary Perl 5 users. If one wants to sell long-time Perl 5 users
(already using the latest Perl 5
On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but they
all seem to be lists that intermix features with varying degrees of value
to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users
(already using
paths:
M S28-special-names.pod
Log Message:
---
Changed equivalent of Perl 5's $0 from C$*PROGRAM to C$*PROGRAM_NAME
I finally found the Perl 6 version of Perl 5's $0 listed in:
tablets.perl6.org/appendix-b-grouped.html#special-variables
as '$*EXECUTABLE_NAME', and I expected it to act the same as $0 in
Perl 6, but I have two problems with it:
1. When used it yields 'perl6' regardless of the script's name
On 30 May 2015 3:00:25 pm GMT+02:00, Tom Browder tom.brow...@gmail.com wrote:
I finally found the Perl 6 version of Perl 5's $0 listed in:
tablets.perl6.org/appendix-b-grouped.html#special-variables
as '$*EXECUTABLE_NAME', and I expected it to act the same as $0 in
Perl 6, but I have two
Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME.
Am 30.05.2015 um 15:00 schrieb Tom Browder:
I finally found the Perl 6 version of Perl 5's $0 listed in:
tablets.perl6.org/appendix-b-grouped.html#special-variables
as '$*EXECUTABLE_NAME', and I expected it to act
On Sat, May 30, 2015 at 8:30 AM, Tobias Leich em...@froggs.de wrote:
Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME.
Tobias, I didn't find $*PROGRAM in the doc listed by Paul:
http://doc.perl6.org/language/variables#Special_Variables
Also, the following were not in:
Hi Tom,
On Sat, May 30, 2015 at 09:03:17AM -0500, Tom Browder wrote:
On Sat, May 30, 2015 at 8:30 AM, Tobias Leich em...@froggs.de wrote:
Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME.
Tobias, I didn't find $*PROGRAM in the doc listed by Paul:
one of the group I found in Synopsis 28 (Special names).
In S28 I did find the Perl 5 to Perl 6 translation table in which I
had overlooked $0 before.
-Tom
Hi,
On 05/30/2015 04:36 PM, Paul Cochrane wrote:
Thanks for pointing out the $*PROGRAM omission! I've just added it to the
list of special variables and it should be available online within the next
10-15 minutes.
Minor nit pick: according to the last log on
http://doc.perl6.org/build-log/
On Mon Oct 06 04:01:24 2014, barto...@gmx.de wrote:
Unfortunately the error message is only Unexpected closing bracket
now:
13:00 bartolin r: say $]
13:00 +camelia rakudo-{parrot,moar} 65819d: OUTPUT«===SORRY!===
Error while compiling /tmp/tmpfileUnexpected closing bracketat
thanks
I tried to describe what I know so far:
http://perl6maven.com/tutorial/running-external-commands-from-perl6
Gabor
On Fri, Jan 2, 2015 at 4:44 PM, Tobias Leich em...@froggs.de wrote:
This is in discussion right now, and since the recent pipe() addition,
we have another bit
This is in discussion right now, and since the recent pipe() addition,
we have another bit implemented to actually make your proposal work.
Though, we've not yet decided where we want to go, how one opens such a
pipe or captures stdout/err, or does redirections of said handles...
I hope we can
I see there are 'run' and 'shell' functions that return the exit status in
Proc::Status, and QX that returns the output. Wouldn't it be better to have
a function the returns and object that contains both the status, the stdout
and the stderr?
e.g. extending Proc::Status to be able to hold those
Recently there was a change in the S19-commandline design document
(https://github.com/perl6/specs/commit/8f8c84034c) and now -e program stops
option processing.
So the following is now expected behaviour
$ perl6 -e 'print OH HAI\n;' -e 'print OH BAI BAI\n'
OH HAI
$ perl6 -e 'say @*ARGS' -e
Unfortunately the error message is only Unexpected closing bracket now:
13:00 bartolin r: say $]
13:00 +camelia rakudo-{parrot,moar} 65819d: OUTPUT«===SORRY!=== Error while
compiling /tmp/tmpfileUnexpected closing bracketat /tmp/tmpfile:1-- say
$⏏]
On Wed Aug 14 14:39:07 2013, lue wrote:
lue r: say $]
camelia rakudo c0814a: OUTPUT«===SORRY!=== Error while compiling
/tmp/bQ267__iqCNon-declarative sigil is missing its nameat
/tmp/bQ267__iqC:1-- say ⏏$] expecting any of: argument list
prefix or term prefix or meta-prefix»…
1 - 100 of 387 matches
Mail list logo