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

查看:37
本文介绍了如何为 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天全站免登陆