如何启动Perl的交互式控制台? [英] How can I start an interactive console for Perl?

查看:433
本文介绍了如何启动Perl的交互式控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Perl启动交互式控制台,类似于Ruby的irb命令或Python的python命令?

How can I start an interactive console for Perl, similar to the irb command for Ruby or python for Python?

推荐答案

您可以在简单的程序上使用perl调试器,如下所示:

You can use the perl debugger on a trivial program, like so:

perl -de1

或者有 Alexis Sukrieh 的Perl控制台应用程序,但我没有使用过.

Alternatively there's Alexis Sukrieh's Perl Console application, but I haven't used it.

这篇关于如何启动Perl的交互式控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆