Bug#458299: libdatetime-astro-sunrise-perl: debugging cruft on stderr
Jeff King
peff at peff.net
Sun Dec 30 07:04:44 UTC 2007
Package: libdatetime-astro-sunrise-perl
Version: 0.01.01-2
Severity: normal
Tags: patch
Whenever I call the 'sunrise' function, it prints the string "me\n" to
stderr, cluttering my program's output. This looks like a leftover
debugging statement. Patch is below.
---
diff --git a/Sunrise.pm b/Sunrise.pm
index 4ab4445..61d158d 100644
--- a/Sunrise.pm
+++ b/Sunrise.pm
@@ -101,7 +101,6 @@ sub sunrise {
}
my ( $hour_rise, $min_rise, $hour_set, $min_set ) = convert_hour($tmp_rise_3,$tmp_set_3);
- print STDERR "me\n";
my $rise_time = DateTime->new(
year => $dt->year,
month => $dt->month,
More information about the pkg-perl-maintainers
mailing list