summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2012-12-30 10:00:26 +0000
committerfukachan <fukachan>2012-12-30 10:00:26 +0000
commitcdb197154836c2937c3dbef2671931531459f86f (patch)
treea70bedc8d8feb587195cffa7dedf8175758398a6 /fml/lib/FML/Process
parentcbcf50b05459ecbc64e3c5dba537bdf8dd240418 (diff)
downloadfml8-cdb197154836c2937c3dbef2671931531459f86f.tar.gz
fml8-cdb197154836c2937c3dbef2671931531459f86f.tar.bz2
fml8-cdb197154836c2937c3dbef2671931531459f86f.zip
catch up perl changes: defined(hashes and arrays) is deprecated,
instead use a simple test for size: if (@an_array) { ... }
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Calendar.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Calendar.pm b/fml/lib/FML/Process/Calendar.pm
index effb8ebb..5873ff72 100644
--- a/fml/lib/FML/Process/Calendar.pm
+++ b/fml/lib/FML/Process/Calendar.pm
@@ -1,9 +1,9 @@
#-*- perl -*-
#
-# Copyright (C) 2002,2003,2004,2005,2006 Ken'ichi Fukamachi
+# Copyright (C) 2002,2003,2004,2005,2006,2012 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Calendar.pm,v 1.19 2006/10/11 14:54:49 fukachan Exp $
+# $FML: Calendar.pm,v 1.20 2006/10/14 00:43:46 fukachan Exp $
#
package FML::Process::Calendar;
@@ -160,7 +160,7 @@ sub run
}
# if "month" option is specified as an argument,
# show the corresponding calendar.
- elsif (defined(@$argv) && @$argv) {
+ elsif (@$argv) {
# ($month, $yeer) = @$argv;
$schedule->print_specific_month($wh, @$argv);
}
@@ -231,7 +231,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2002,2003,2004,2005,2006 Ken'ichi Fukamachi
+Copyright (C) 2002,2003,2004,2005,2006,2012 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.