[Dancer-users] Dancer vs system()

Richard Huxton dev at archonet.com
Fri Nov 18 11:07:48 CET 2011


Am I missing something obvious here? can't see anything in the list 
archives / google.

     my $res = system('/bin/true');
     debug "$res / $?";

The above always logs -1 / -1 even though the command runs. I'm acutally 
using it to run a small external db-updater tool and couldn't figure out 
how I was getting a failure message from Dancer but the database was 
updating.

Am I being dim here?

-- 
   Richard Huxton
   Archonet Ltd


More information about the Dancer-users mailing list