Diff of /koha-simulate/tags/0.1.1/simulate.pl [000000] .. [r88] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/koha-simulate/tags/0.1.1/simulate.pl
@@ -0,0 +1,30 @@
+#!/usr/bin/perl -w
+
+## Copyright 2006 Kyle Hall
+
+## This file is part of koha-tools.
+
+## koha-tools is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+
+## koha-tools is distributed in the hope that it will be useful,
+## but WITHOUT ANY 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-tools; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+## The latest version of the file can always be found at
+## http://koha-tools.sourceforge.net
+
+use C4::Simulate;
+
+use strict;
+
+C4::Simulate::perform_random_returns(15);  //Checks in 15 random items
+C4::Simulate::perform_random_issues(10, 3);//Checks out 1 to 3 books each to 10 patrons
+