Tag Archives: Perl
Recently I had to setup Active Perl with Sublime Text 2 in Windows 8. After adding a new build system and setting up the path to perl.exe with the -w flag I wanted to figure out what other flags were available. You can pass perl several flags: bin/perl -w bin/perl -p bin/perl -d bin/perl -i bin/perl -t bin/perl -pe bin/perl -pi Here are what the perl flags do: -i: Modifies your input file in-place -w: Activates some warnings -d: Runs under the Perl debugger -t: Treats certain “tainted” code as warnings -p: Places a printing loop around your command so that it acts on each line of standard input. -e: Allows you to provide the program as an argument rather than in a file.