fayland/perl-javascript-beautifier — pull request #2 by olof (2012-01-12 19:52:20+00:00)
Title: Script opens $file instead of $to_file

Even when using the --output parameter, the script overwrites the input file. Also adds error checking and dies if open fails.