in reply to Equivalent Dot Command in TCL

Assuming you're talking about Perl's exec, see
perldoc -f exec
and see also backticks and system.