DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Perl: Checking That Your Modified Files Compile

04.21.2010
| 2282 views |
  • submit to reddit
        After making some changes, before committing, run this to check that no changes have caused your perl app to not compile

git status | grep modified | awk '{system("perl -c "$3)}'