Setting up sublime text 2 with activeperl?
This worked for me, taken from: http://www.perlmonks.org/?node_id=935014
- Click "Preferences -> Browse Packages"
- Navigate to the "Perl" subfolder
- Create a file called "Perl.sublime-build" with the following content:
{
"cmd": ["perl", "-w", "$file"],
"file_regex": ".* at (.*) line ([0-9]*)",
"selector": "source.perl"
}
- Manually set the build system by clicking "Tools -> Build System -> Perl"
- You can now run your Perl script by mashing Ctrl+B
I am running this version of ActiveState Perl:
C:\>perl --version
Binary build 1402 [295342] provided by ActiveState http://www.ActiveState.com
Built Oct 7 2011 15:49:44