$perl -d main.pl
Loading DB routines from perl5db.pl version 1.25
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(main.pl:4): require "somefile.pl";
DB<1> S newform*
newform::func1
newform::someFile
newform::someFile1
DB<2> S main*
main::BEGIN
DB<3>
####
use strict;
require "somefile.pl";
use newform;
&newform::someFile();
&newform::func1();
####
sub BEGIN
{
require "somefile.pl";
}
####
&main::someFile();