Perl driver improvements