projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignoring mac's .DS_Store items now.
[feisty_meow.git]
/
scripts
/
text
/
diff_lib.pl
diff --git
a/scripts/text/diff_lib.pl
b/scripts/text/diff_lib.pl
index c0ffaf7a1e88dec7c6c4e864eb4a1cb734b3a2b7..6b194c2f64fcd82e1546a6a321ab7b69447a669d 100644
(file)
--- a/
scripts/text/diff_lib.pl
+++ b/
scripts/text/diff_lib.pl
@@
-23,9
+23,9
@@
# support from CPAN. this can be installed by using cpan and telling it
# install Text::Diff
# support from CPAN. this can be installed by using cpan and telling it
# install Text::Diff
-require "ctime.pl";
require "filename_helper.pl";
require "filename_helper.pl";
-require "importenv.pl";
+
+use Env qw(FEISTY_MEOW_DIR);
use Text::Diff;
use Text::Diff;
@@
-146,7
+146,7
@@
sub print_header {
# this function prints out the header prior to printing out any real
# data. if there are no diffs, the header should never get printed.
print "$break_line\n";
# this function prints out the header prior to printing out any real
# data. if there are no diffs, the header should never get printed.
print "$break_line\n";
- local($printable_date) =
&ctime(time
);
+ local($printable_date) =
scalar(localtime()
);
$printable_date =~ s/\n//g;
print "[$printable_date]\n";
print "Left (<) is \"$temp_src\".\n";
$printable_date =~ s/\n//g;
print "[$printable_date]\n";
print "Left (<) is \"$temp_src\".\n";