As I am Novice to Perl, I would be happy if you are able to solve my problem.
I created a Module named "Messages.pm" and it resides in the path "E:\Venkadachalam\Perl_samples\Modules\Messages.pm"
Also I included this module in another Perl file named "Main.pl" as show below
use Modules::Messages;
and invoked the subroutine defined in the Messaged.pm in the Main.pl
In the Command Window, I tried executing the above perl program as
perl -I E:\Venkadachalam\Perl_samples\Modules\Messages.pm Main.pl
Here it gives an error message as shown below:
"Can't locate Modules/Messages.pm in @INC (@INC contains: E:/Venkadachalam/Perl_s
ample/Modules C:/Perl/site/lib C:/Perl/lib .) at Main.pl line 1
BEGIN failed--compilation aborted at Main.pl line 1"
Any help is highly appreciated.