PERL MODULE :
To debug my perl module code in test environment. I have taken production module to the test in the my home path directory and was trying to test it by changing the below path in my test code.
But still i am getting the error to debug it. can you please let me knw whether i am correct.
Code:
Production Code :
use strict;
use banking::field;
Test code :
use strict
use banking "/home/prod/banking/field";
use banking::field;
Error getting below
Use of qw(...) as parentheses is deprecated at banking/field.pm line 1
+493.
Can't locate object method "new" via package "banking::field" (perhaps
+ you forgot to load "banking::field"?) at testout.pl line 42.