On Jan 4, 2008 12:42 PM, Shilpi Harpavat <[EMAIL PROTECTED]> wrote: > I created a module in a file called utilities .pm in some folder say > C:\wamp\ww\perl\utilities\ which has a function say "Func1" > Now I want to use this module in a test.pl file
use lib 'C:/wamp/ww/perl/utilities/'; use utilities; # loads C:\wamp\ww\perl\utilities\utilities.pm I don't have a Windows machine to try that on, but I think that should get you on the right track. The 'use lib' line tells perl where to look first for new modules. If you get an error message, that message should tell you where perl is looking (and not finding) your module; you can use that feedback to adjust the 'use lib' line accordingly. Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/