in reply to Re^4: call perl subs in another directory?
in thread call perl subs in another directory?

are you sure Data1.pl has a 'package XXXX;' line, where XXXX is not used as a package name anywhere else? It sounds like one (or more) of the files you're doing is using either a package name that's used elsewhere, or is not supplying a package name (thereby reverting to package 'main').

If you still have problems, make your files look more like my examples. ;)

-pete

  • Comment on Re^5: call perl subs in another directory?