Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

simply: $ sudo cpan Devel::REPL

also you can do this: $ perl -e 'print "Hello World!\n";'



Huh, I thought "everyone" used perlbrew now?

It has been on my todo to try the REPL for a long time, but since Perl is the most powerful command line tool in bash, I've never seen a reason to use an interactive tool.

  alias p=perl
  p -e '...'
  p -ne '....'
  # etc.
Edit: With powerful I didn't mean "rm -rf", etc. :-)


I don't use perlbrew. Haven't tried it, since installing your own Perl by-hand is easy enough.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: