repo.or.cz
/
koha.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 12948: Use word indexing for language (MARC21)
[koha.git]
/
C4
/
SIP
/
Sip
/
Configuration
/
Service.pm
blob
5784b9d8edb91c1afe9910bcc199e0f4bff3dd3d
1
#
2
#
3
#
4
#
5
6
package
C4
::
SIP
::
Sip
::
Configuration
::
Service
;
7
8
use
strict
;
9
use
warnings
;
10
11
sub
new
{
12
my
(
$class
,
$obj
) =
@_
;
13
my
$type
=
ref
(
$class
) ||
$class
;
14
15
if
(
ref
(
$obj
)
eq
"HASH"
) {
16
# Just bless the object
17
return
bless
$obj
,
$type
;
18
}
19
20
return
bless
{},
$type
;
21
}
22
23
1
;