Hi
Exit code is set after closing one of the output channels. If you close
both, the errorcode is reset to 0 again. (This might be a bug though)
my $p = run "ls", "dadsad", :out, :err;
say $p.err.lines;
---> (ls: cannot access 'dadsad': No such file or directory)
$p.out.close;
$p.exitcode;
-
Hi
I wonder if there is auto-completion in the Perl6 REPL - such as what is
found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables,
methods, ...
e.g
perl6
> say 42.
or
> my $result = 8;
> say $res
Thanks
--
Sébastien Moretti
On 05/30/2017 08:33 PM, Sebastien Moretti wrote:
> Hi
>
> I wonder if there is auto-completion in the Perl6 REPL - such as what is
> found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables,
> methods, ...
>
> e.g
> perl6
> > say 42.
> or
> > my $result = 8;
> > say $res
>
Hi,
As it st
On 05/30/2017 05:39 PM, Shrivats wrote:
On 05/30/2017 08:33 PM, Sebastien Moretti wrote:
> Hi
>
> I wonder if there is auto-completion in the Perl6 REPL - such as what is
> found in Eclipse (Ctrl-space) or in vim (Ctrl+n) - for variables,
> methods, ...
>
> e.g
> perl6
> > say 42.
> or
Completion (albeit in a limited form) is available if you install the Linenoise
module. Completion for Readline is
a little trickier, since GNU Readline uses a global variable to store the
function reference used to populate the
completion list. When I was working on the REPL stuff, manipulatin
The REPL's almost an independent project.
Can it be made modular, to reduce the coupling between it and the language?
It's pretty modular already; only a little more work would be needed to have it
loaded as an external module.
On Tue, 30 May 2017 12:34:08 -0400
Parrot Raiser <1parr...@gmail.com> wrote:
> The REPL's almost an independent project.
>
> Can it be made modular, to reduce the coupling between it an
Please do not weaken the link between REPL and perl6 !
The ability to test perl6 snippets very quickly is something I find very
useful. And to get this I type 'perl6'. Easy to remember.
(I have been following perl6 since the very beginning, and installed
'pug'. Since perl6 has been evolving,