[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: Perl question
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
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/ 
-------------- next part --------------
An HTML attachment was scrubbed...