Bug 5549 : Add days_between method to Koha::Calendar
[koha.git] / misc / maintenance / fix_accountlines_date.pl
old mode 100644 (file)
new mode 100755 (executable)
index 4f95e90..2956f57
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 #
 # Copyright (C) 2008 LibLime
 #
 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA  02111-1307 USA
+# You should have received a copy of the GNU General Public License along
+# with Koha; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
+use warnings;
 BEGIN {
     # find Koha's Perl modules
     # test carefully before changing this
@@ -80,6 +81,8 @@ be in whatever format your 'dateformat' system preference specifies.
 Run in debugging mode; this prints out a lot of information and should be used
 only if there is a problem and with the '-n' option.
 
+=back
+
 =cut
 
 my $mode = '';