From 049928f3f45bc3400d8e17e40f781d6f87285759 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Wed, 2 Jan 2008 13:18:51 -0600 Subject: [PATCH] label-manager - POSIX unused, commented out Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- labels/label-manager.pl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/labels/label-manager.pl b/labels/label-manager.pl index 944baea994..712aac1f2d 100755 --- a/labels/label-manager.pl +++ b/labels/label-manager.pl @@ -6,8 +6,7 @@ use C4::Auth; use C4::Labels; use C4::Output; use HTML::Template::Pro; -use POSIX; - +#use POSIX qw(ceil); #use Data::Dumper; #use Smart::Comments; @@ -141,12 +140,10 @@ my @resultsloop = get_label_items($batch_id); #warn Dumper(@resultsloop); my $tmpl =GetActiveLabelTemplate(); -### $tmpl + #calc-ing number of sheets #my $number_of_results = scalar @resultsloop; -#my $sheets_needed = ( ( --$number_of_results + $startrow ) / 8 ); -#$sheets_needed = ceil($sheets_needed); # rounding up int's - +#my $sheets_needed = ceil( ( --$number_of_results + $startrow ) / 8 ); # rounding up #my $tot_labels = ( $sheets_needed * 8 ); #my $start_results = ( $number_of_results + $startrow ); #my $labels_remaining = ( $tot_labels - $start_results );