EPrints Technical Mailing List Archive

Message: #01499


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Documentation error in RepositoryConfig.pm


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