daveewart / colordiff

Primary development for colordiff
http://www.colordiff.org/
GNU General Public License v2.0
177 stars 37 forks source link

use warnings pragma rather than -w on shebang line #53

Closed vitahall closed 2 years ago

vitahall commented 2 years ago

This allows for simple, portable use of /usr/bin/env in the shebang line, because then you don't need to split perl -w on any platform.

There shouldn't be any change in behavior from perl -w, and use warnings is compatible back to Perl 5.6 from 2000.

daveewart commented 2 years ago

Looks fine, thanks, will merge.