DEV Community

loading...

How to run Perl scripts in Atom

aaron-spitalny
Updated on ・1 min read

Install the Atom package Atom Runner.

Once you have Atom Runner installed you have two choices for running Perl scripts.


First Option: Using the shebang line



Second Option: Editing the Atom config file


Open the config.cson file

and insert

runner:
  extensions:
    pl: "perl"

Finally:

Use keystroke ctrl-r and off you go!

Discussion (0)