in reply to version error

Note that "Version" and "version" are not the same: Perl is case sensitive. version is a core module, it should be always available, unless your Perl installation is crippled.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: version error
by NERDVANA (Priest) on Sep 04, 2024 at 19:28 UTC
    Adding to that, there should *not* be a Version.pm with capital V. It would conflict with version.pm on Windows, so that module name should not be used. Is there a chance something uppercased the filename by accident?
      I don't know if the situation was fixed on Windows in the meantime, but to use a module with wrong case leads to annoying errors, if require works but ->import fails

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery