I'm not sure it is possible to create the database via Perl as you need to specify the database name in the Ds string.
But if you run your Perl script on the same box as the Firebird daemon, you might be able to use
Why can you not first create the database using the usual tools (isql) and then connect to the empty database with perl and proceed?