[EP-tech] Documentation error in RepositoryConfig.pm

John Salter J.Salter at leeds.ac.uk
Wed Jan 30 10:50:24 GMT 2013


Hi,
This was noted by Graham at Symplecitc:
https://svn.eprints.org/eprints/trunk/system/perl_lib/EPrints/RepositoryConfig.pm, line 34, the example usage uses ${$params{rc}}.
This is displayed on the Wiki: http://wiki.eprints.org/w/API:EPrints/RepositoryConfig

We believe that it should be ${$params{return_code}} in this example.
Other examples e.g. http://bazaar.eprints.org/162/1/epm/meprints/cfg/cfg.d/z_meprints.pl create a reference (often called 'rc' - which may have confused things).

Is our understanding of this correct?

I've added a note to the EPrints wiki page - but correcting the example in the source would be good!

Cheers,
John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130130/1bfb7126/attachment.html 


More information about the Eprints-tech mailing list