EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03551
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- From: sf2 <sf2@ecs.soton.ac.uk>
- Date: Fri, 17 Oct 2014 16:31:48 +0100
|
Hola Lizz, I would do something like: my $creators = @{ $eprint->value( 'creators' ) || [] }; ... push @newcreators, { name => ... , etc }; ...
in your example you push an array-ref onto the array rather than pushing a single record/row: push @foo, [ { ... } ] vs push @foo, { ... } Seb On 17.10.2014 16:33, Lizz Jennings wrote:
|
- Follow-Ups:
- [EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- From: sf2 <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- References:
- [EP-tech] Modifying compound fields with eprint_fields_automatic
- From: Lizz Jennings <e.jennings@bath.ac.uk>
- [EP-tech] Modifying compound fields with eprint_fields_automatic
- Prev by Date: [EP-tech] Modifying compound fields with eprint_fields_automatic
- Next by Date: [EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- Previous by thread: [EP-tech] Modifying compound fields with eprint_fields_automatic
- Next by thread: [EP-tech] Re: Modifying compound fields with eprint_fields_automatic
- Index(es):
