in reply to can't locate object method new in perl
Hi Bhabesh347,
This "CSV.pm" that you are showing us appears to be a copy-and-paste of the module's synopsis. That's unnecessary, and if you placed that file into a directory named "Text", that would explain why your MyScript.pl isn't working, since Perl might be loading that instead of the actual module. You may need to install the Text::CSV module properly, using either your system's package manager, cpan, or cpanm. This is all just a guess though, as GrandFather already said, it'd be best if you give us an SSCCE.
Hope this helps,
-- Hauke D
|
|---|