$ perl -e ' use strict; use warnings; use My::Package; test("hello world\n"); test_2("hello this is dog"); ' hello world hello this is dog