/tmp>env - perl -MDBI -e 'print DBI->connect("DBD:MariaDB:foo","","","SQLite")->{PrintError}' DBI->connect using 'old-style' syntax is deprecated and will be an error in future versions at -e line 1. /tmp>env - perl -MDBI -e 'print defined DBI->connect("DBD:MariaDB:foo","","","SQLite")->{PrintError}' DBI->connect using 'old-style' syntax is deprecated and will be an error in future versions at -e line 1. 1 /tmp>env - perl -MDBI -e 'print DBI->connect("DBD:MariaDB:foo","","","SQLite")->{PrintError}+0' DBI->connect using 'old-style' syntax is deprecated and will be an error in future versions at -e line 1. 0