require "dotsh.pl"; $ENV{SHELL} = "/bin/sh"; if(-f "/some/file/to/source") { dotsh("/some/file/to/source") }