Did that and now the Apache2 error log gives the error:
sudo: no tty present and no askpass program specified
So it looks like it now recognizes sudo. The perl script I'm executing is :
#!/usr/local/bin/perl
use strict;
use warnings;
system("sudo mount /dev/sda1 /usbdrive");