<service>open-ils.courses</service>
<service>open-ils.curbside</service>
<service>open-ils.fielder</service>
- <service>openils.oai</service>
+ <service>open-ils.oai</service>
<service>open-ils.pcrud</service>
<service>open-ils.permacrud</service>
<service>open-ils.reporter</service>
sub listMetadataFormats {
my $response = HTTP::OAI::ListMetadataFormats->new();
- foreach my $metadataPrefix (keys $oai_metadataformats) {
+ foreach my $metadataPrefix (keys %$oai_metadataformats) {
my $metadata_format = $oai_metadataformats->{$metadataPrefix} ;
$response->metadataFormat( HTTP::OAI::MetadataFormat->new(
metadataPrefix => $metadataPrefix,
if ($oai_sets) {
my $response = HTTP::OAI::ListSets->new( );
- foreach my $key (keys $oai_sets) {
+ foreach my $key (keys %$oai_sets) {
my $set = $oai_sets->{$key} ;
if ( $set && $set->{setSpec} && $set->{record_class} eq $record_class ) {
$response->set(