in reply to Re^2: read from xlsx is throwing error
in thread read from xlsx is throwing error

It seems you are on Windows and in another reply you claim that Spreadsheet::Read is installed.

Perl thinks it is not installed and it cannot find it in the directories listed. To diagnose whether the files have been installed, run the following and post its output:

dir /b /s C:\Strawberry\perl\Read.pm

You should find a file Spreadsheet\Read.pm somewhere there. If not, then Perl is right and you did not install the module.

To install the module, run:

C:\Strawberry\perl\bin\cpan Spreadsheet::Read

Replies are listed 'Best First'.
Re^4: read from xlsx is throwing error
by ajaykannan (Novice) on Dec 19, 2016 at 11:05 UTC

    i run this command as you said C:\Strawberry\perl\bin\cpan Spreadsheet::Read and it is also being installed but still am getting error. Thank you for the help and can you help me

      Then please try to find out where the module has been installed:

      dir /b /s C:\Strawberry\perl\Read.pm dir /b /s C:\DWIMPERL\perl\Read.pm dir /b /s C:\Read.pm

      If the file is not found anywhere below C:\DWIMPERL\perl\ and C:\Strawberry\perl\ then it has not been installed.

      If you are unsure which version of Perl is run, please run the following and post the output:

      perl -V

      The module must be installed by that Perl and somewhere below @INC of that Perl.

      In your OP, your Perl says it's under C:/Dwimperl, now it (magically?) moved to C:/Strawberry.
      You should know that, if you have multiple installations of Perl, they (and their modules) are independent from each other. So if you install the module for Strawberry, that doesn't touch the DWIM Perl in the slightest…

        i installed dwinperl and strawverry perl. so do you want me to uninstall any one of these