How can I start an interactive console for Perl?

前端 未结 23 2455
故里飘歌
故里飘歌 2020-12-07 07:37

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

23条回答
  •  广开言路
    2020-12-07 07:57

    Under Debian/Ubuntu:

    $ sudo apt-get install libdevel-repl-perl
    $ re.pl
    
    $ sudo apt-get install libapp-repl-perl
    $ iperl
    

提交回复
热议问题