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

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

Replies are listed 'Best First'.
Re^5: read from xlsx is throwing error
by Corion (Patriarch) on Dec 19, 2016 at 11:42 UTC

    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.

Re^5: read from xlsx is throwing error
by soonix (Chancellor) on Dec 19, 2016 at 11:11 UTC
    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

        You can have both (or even multiple Strawberries), but you should keep book where you installed which module (or install all needed modules for each installed Perl).

        BTW, I say "installed Perl", but here this includes the "portable" versions, too.