Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl Build System File for sublime text editor

by UVB (Acolyte)
on Jan 16, 2012 at 03:37 UTC ( #948057=note: print w/replies, xml ) Need Help??


in reply to Perl Build System File for sublime text editor

I ended up doing it myself: Change \packages\Perl\Perl.sublime-build file in the Sublime Text install to the following:
{ "cmd": ["perl", "-w", "$file"], "file_regex": ".* at (.*) line ([0-9]*)", "selector": "source.perl" }

Replies are listed 'Best First'.
Re^2: Perl Build System File for sublime text editor
by Anonymous Monk on Aug 16, 2012 at 01:19 UTC
    Works great -- thank you!!
Re^2: Perl Build System File for sublime text editor
by Anonymous Monk on Jan 29, 2013 at 13:15 UTC
    Tks! I 've changed "-w " to "-c" for syntax only.
Re^2: Perl Build System File for sublime text editor
by Anonymous Monk on Sep 05, 2016 at 20:42 UTC
    In which file exactly did you do the formatting, and where can I find it? Do you have to perform the changes before the installation of sublime text or is it possible to do it afterwards? Thank you!
      1. Click "Preferences -> Browse Packages"
      2. Navigate to the "Perl" subfolder
      3. Create a file called "Perl.sublime-build" with the following content:
        { "cmd": ["perl", "-w", "$file"], "file_regex": ".* at (.) line ([ +0-9])", "selector": "source.perl" }
      4. Manually set the build system by clicking "Tools -> Build System -> Perl"
      5. You can now run your Perl script by mashing Ctrl+B
      "re-"taken from http://stackoverflow.com/questions/12789975/setting-up-sublime-text-2-with-activeperl
        Works! Thank you! :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948057]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-05-01 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (545 votes). Check out past polls.