jcartledge / sublime-worksheet

An inline REPL for JavaScript, PHP, Ruby & more in Sublime Text 2 and 3
MIT License
333 stars 18 forks source link

Add perl REPL support #32

Closed amacleay closed 11 years ago

amacleay commented 11 years ago

This works as long as the client has "re.pl" installed (which is the default for me in Linux; I'm not entirely sure whether this works the same for Macs).

I'm not certain that the use of the "magic word" package_base is entirely appropriate; I'm far from a python ninja. Feedback welcome!

jcartledge commented 11 years ago

Thanks! I'll take a look at this. I can see as we add REPLs we're going to need documentation for the idiosyncrasies of each - what you need to install etc.

amacleay commented 11 years ago

To wit: cpan -i Devel::REPL or apt-get install libdevel-repl-perl

jcartledge commented 11 years ago

OK - I have a way to avoid overriding cwd with package_base: basically define a template var we can use in the config. See https://gist.github.com/jcartledge/5930995

The problem I'm having now is it's not easy to get re.pl working nicely on Mac.

jcartledge commented 11 years ago

I've just pushed 0.8.0 with this in it - should be in Package Control soon. Thanks :)

amacleay commented 11 years ago

Aah much better.

Having any specific trouble with the mac? Anything I might be able to check into? On Jul 4, 2013 9:00 PM, "jcartledge" notifications@github.com wrote:

OK - I have a way to avoid overriding cwd with package_base: basically define a template var we can use in the config. See https://gist.github.com/jcartledge/5930995

The problem I'm having now is it's not easy to get re.pl working nicely on Mac.

— Reply to this email directly or view it on GitHubhttps://github.com/jcartledge/sublime-worksheet/pull/32#issuecomment-20497584 .

jcartledge commented 11 years ago

I worked it out eventually thanks :) Just fighting with CPAN, then I was running into trouble with plugins because I didn't have a Term::ReadLine implementation installed.