in reply to Batch database creation

local $/; $sql_dump = <$source>;

SQL dumps are usually very large, so slurping the whole dump in memory doesn't seem the right thing to do.