EPrints Technical Mailing List Archive
Message: #03507
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Perl question
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Perl question
- From: sf2 <sf2@ecs.soton.ac.uk>
- Date: Fri, 26 Sep 2014 16:01:00 +0100
If possible, can you detail a little as to why you're using straight sql? api missing to do something in particular? the error is that it's trying to deref an array but it got a string instead of a array ref eg: my $string = ""; my @upcoming_error = @$string Seb
On 26.09.2014 15:40, Andrew Beeken wrote: Hello all! I’m having a funny one in relation to some customisations we’ve made to our EPrints installation. In particular I’m getting an empty sql query returned within the Perl which is causing the user page creation script to bail with this error: Can’t use (“”) as an ARRAY ref while “strict” refs in use. I shan’t go into specifics, but is there a recommended way of gracefully ignoring empty SQL returns? The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research. The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies. Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions. The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal. *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
|
- References:
- [EP-tech] Perl question
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Perl question
- Prev by Date: [EP-tech] Re: Perl question
- Next by Date: [EP-tech] Re: Perl question
- Previous by thread: [EP-tech] Re: Perl question
- Next by thread: [EP-tech] Re: Perl question
- Index(es):