in reply to How to include a file which is in a shared folder?
use lib '\\\\server1\\doc'; or use lib '//server1/doc'; use test;
If you're going to use use, make sure test.pm starts with package test;. Also make sure to use the same capitalisation for the name in both the use and package statements.
|
|---|