http://www.perlmonks.org?node_id=1206824


in reply to Perl Build System File for sublime text editor

Go to "Tools -> Build System -> New Build System" This will open up a new file. Write the following in the file
{ "cmd": ["perl", "-w", "$file"], "file_regex": ".* at (.*) line ([0-9]*)", "selector": "source.perl" }
Save the file as "perl.sublime-build" in "~/.config/sublime-text-3/Packages/User" folder