Cloud9 IDE/Perl

From Wikiversity
Jump to navigation Jump to search

Cloud9 may be for Perl development, but by default there is no runner for Perl scripts. This is indicated by the following error when running a .pl file:

bash: line 1: ...: No such file or directory

To add a new runner for Perl files, use the following configuration. Save the new runner as Perl.run.

{
    "cmd" : ["perl", "$file", "$args"],
    "info" : "Running $file_name",
    "selector" : "source.pl"
}

See Also[edit | edit source]