projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_9535' into 3.12-master
[koha.git]
/
C4
/
Utils.pm
diff --git
a/C4/Utils.pm
b/C4/Utils.pm
index
7502902
..
dac9423
100644
(file)
--- a/
C4/Utils.pm
+++ b/
C4/Utils.pm
@@
-27,7
+27,7
@@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $debug);
BEGIN {
require Exporter;
BEGIN {
require Exporter;
-
$VERSION = 1.00
; # set the version for version checking
+
$VERSION = 3.07.00.049
; # set the version for version checking
$debug = $ENV{DEBUG} || 0;
@ISA = qw(Exporter);
@EXPORT_OK = qw(&maxwidth &hashdump);
$debug = $ENV{DEBUG} || 0;
@ISA = qw(Exporter);
@EXPORT_OK = qw(&maxwidth &hashdump);
@@
-35,12
+35,12
@@
BEGIN {
}
}
-sub maxwidth
(@)
{
+sub maxwidth {
(@_) or return 0;
return (sort {$a <=> $b} map {length} @_)[-1];
}
(@_) or return 0;
return (sort {$a <=> $b} map {length} @_)[-1];
}
-sub hashdump
($$)
{
+sub hashdump {
my $pre = shift;
my $val = shift;
if (ref($val) =~ /HASH/) {
my $pre = shift;
my $val = shift;
if (ref($val) =~ /HASH/) {