Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 6 REPL doesn't allow input that spans lines #2728

Closed
p6rt opened this issue Apr 27, 2012 · 4 comments
Closed

Perl 6 REPL doesn't allow input that spans lines #2728

p6rt opened this issue Apr 27, 2012 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Apr 27, 2012

Migrated from rt.perl.org#112634 (status was 'resolved')

Searchable as RT112634$

@p6rt
Copy link
Author

p6rt commented Apr 27, 2012

From phiroc@free.fr

perl 6 version​: Rakudo 2012.04.1

if you type "if (0 > 2) {" then press CR, you get the following error message​:

Unable to parse blockoid, couldn't find final '}' at line 3

Other interpreters would display a pipe instead.

@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

From @moritz

On Fri Apr 27 07​:02​:44 2012, philroc wrote​:

perl 6 version​: Rakudo 2012.04.1

if you type "if (0 > 2) {" then press CR, you get the following error
message​:

Unable to parse blockoid, couldn't find final '}' at line 3

Other interpreters would display a pipe instead.

Current Rakudo now supports this too​:

moritz@​pat​:~/p6/rakudo$ ./perl6-m
You may want to `panda install Readline` or `panda install Linenoise` or use rlwrap for a line editor

To exit type 'exit' or '^D'

if (0 > 2) {
* say 42;
* }
()
if True {
* say 'really!';
* }
really!

@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Mar 12, 2016
@p6rt
Copy link
Author

p6rt commented Mar 12, 2016

@moritz - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant