in reply to Re^2: require issue.
in thread require issue.

Or put a package main; at the beginning of somefile.pl; that way each other file that uses something from somefile.pl makes sure that it's loaded, but always knows what package to expect it to be loaded into.