in reply to Problem with command prompt execution

"Doctor, it hurts when I do this."

"So don't do that."

Seriously, though, the space before the file mode is what's breaking it. Remove that space. Or use the three-arg version of open().

open(DC_DB, ">", $dc_db_file) or die ...;
_____________________________________________________
Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart