Current Path : /usr/local/lib/perl5/site_perl/5.8.9/ExtUtils/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/ExtUtils/bleadcheck.pl |
#!/usr/bin/perl # A script to check a local copy against bleadperl, generating a blead # patch if they're out of sync. An optional directory argument will # be chdir()-ed into before comparing. use strict; chdir shift() if @ARGV; my $blead = "~/Downloads/perl/bleadperl"; diff( "$blead/lib/ExtUtils/CBuilder.pm", "lib/ExtUtils/CBuilder.pm"); diff( "$blead/lib/ExtUtils/CBuilder", "lib/ExtUtils/CBuilder", qw(t Changes .svn) ); diff( "$blead/lib/ExtUtils/CBuilder/t", "t", qw(.svn) ); ###################### sub diff { my ($first, $second, @skip) = @_; local $_ = `diff -ur $first $second`; for my $x (@skip) { s/^Only in .* $x\n//mg; } print; }