Hi Liam Thank you for the reply!
The command returns silently, and I can manually find the files on our file system as well. I added use Carp; at the top (which I didn't before, assuming that it would be included if necessary by a dependency script) and now I get an error on Carp's Heavy.pm at line 11. The strange thing is that this line doesn't really provide anything useful, it's simply a variable assignment of a version (l. 10-11): # On one line so MakeMaker will see it. use Carp; our $VERSION = $Carp::VERSION; When I try to get the version manually from the command line, this works fine. perl -le 'use Carp; print $Carp::VERSION;' # returns 1.11 I'm at loss. I have no idea at all why the program would crash on such a line! You say you didn't manage to start multiple basex sessions either. Can I ask what the cause of this was? Did Basex' Perl API throw an error, and if so which one? Or couldn't you debug it because of compilation problems similar to my own? Thank you in advance! Bram -----Oorspronkelijk bericht----- Van: Liam R. E. Quin [mailto:l...@w3.org] Verzonden: woensdag 29 juni 2016 19:17 Aan: Bram Vanroy | KU Leuven <bram.vanr...@student.kuleuven.be>; 'BaseX' <basex-talk@mailman.uni-konstanz.de> Onderwerp: Re: [basex-talk] Starting multiple sessions in BaseX with Perl: compilation failed at Carp.pm On Wed, 2016-06-29 at 17:56 +0200, Bram Vanroy | KU Leuven wrote: > Hi there BaseX people! > > > > Original post on StackOverflow: > http://stackoverflow.com/questions/38086358/starting-multiple-session > s-in-ba > sex-with-perl-compilation-failed-at-carp-pm On the command-line, does perl -le 'use Carp::Heavy;' work (i.e. return silently)? If not, try perl -le 'use Carp;' and if that doesn't work, install Carp. If this is a standard Perl installation Carp is included in the core, you should already have Carp::Heavy installed. Make sure your Perl script has use Carp; near the start. > Is it possible to launch multiple sessions from Perl that can work > simultaneously, and if so, how do you launch these sessions and access > them? I haven't managed more than one session using the Perl API, whether in parallel or one after the other. Liam -- Liam R. E. Quin <l...@w3.org> The World Wide Web Consortium (W3C)