-
Notifications
You must be signed in to change notification settings - Fork 560
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
REPL #16914
Comments
From svnpenn@gmail.comPerl 5 currently does not have a REPL that I am aware of: https://wikipedia.org/wiki/Read–eval–print_loop Several other languages offer this, such as: - Python I found some workaround, but none of them are ideal. Can use perldebug: perl -d -e 0 but it requires manual printing. Can use eval: perl -E 'while (<STDIN>) {say eval}' but it fails with pragmas: Can use Devel::REPL, but it fails with standard input: $ echo 2+3 | re.pl Can use "Reply", but no multiline support: |
From @leonerdOn Sun, 31 Mar 2019 18:47:36 -0700
There are many on CPAN; you mention a few, I also created a small one https://metacpan.org/pod/App::perlsh Like Devel::REPL it doesn't work for stdin, but if that was considered Either way, however, it's hard to see what there is for core perl to -- leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS |
The RT System itself - Status changed from 'new' to 'open' |
From svnpenn@gmail.comCan use Perl 6 as a workaround: |
From [Unknown Contact. See original ticket]Can use Perl 6 as a workaround: |
From @GrinnzOn Sun, 16 Jun 2019 17:39:35 -0700, svnpenn@gmail.com wrote:
You could also use Python or Ruby, but I hardly see how that's a workaround. |
Migrated from rt.perl.org#133969 (status was 'open')
Searchable as RT133969$
The text was updated successfully, but these errors were encountered: