diff --git a/C4/Output.pm b/C4/Output.pm
index 38212fa6a0..3783eb28a9 100644
--- a/C4/Output.pm
+++ b/C4/Output.pm
@@ -71,21 +71,21 @@ my $priv_func = sub {
# make all your functions, whether exported or not;
-sub startpage{
+sub startpage() {
return("\n");
}
-sub gotopage{
- my ($target) = @_;
- print "
goto target = $target
";
+sub gotopage($) {
+ my ($target) = shift;
+ #print "
goto target = $target
";
my $string = "";
return $string;
}
-sub startmenu{
+sub startmenu($) {
# edit the paths in here
- my ($type)=@_;
+ my ($type)=shift;
if ($type eq 'issue') {
open (FILE,"$path/issues-top.inc") || die;
} elsif ($type eq 'opac') {
@@ -103,8 +103,8 @@ sub startmenu{
}
my @string=;
close FILE;
- my $count=@string;
- # $string[$count]="";
+ # my $count=@string;
+ # $string[$count]="";
return @string;
}
@@ -131,7 +131,7 @@ sub endmenu{
return @string;
}
-sub mktablehdr {
+sub mktablehdr() {
return("\n");
}
@@ -340,7 +340,7 @@ sub mkform2{
if ($reqd eq "R") {
$ltext = $ltext." (Req)";
}
- @order[$posn] =mktablerow(2,'white',$ltext,$text);
+ $order[$posn] =mktablerow(2,'white',$ltext,$text);
}
}
$string=$string.join("\n",@order);