WillG
WillG

Reputation: 874

Strawberry Perl doesn't include Win32::shortcut?

While trying to install a dev tool called IPDesigner, I had to install Corretto and Strawberry Perl. Not going into all of that, but in short, Strawberry Perl is giving me trouble. I'm not versed in Perl, but from what I can tell it doesn't have Win32::shortcut.pm in the install.

This is a fresh install using strawberry-perl-5.40.0.1-64bit.msi on a Windows 10 Enterprise machine. No errors on the install.

Running the test script:

use Win32::Shortcut;
print "\nWin32::Shortcut ", Win32::Shortcut::Version, " TEST\n\n";

Gives the following error:

Can't locate Win32/Shortcut.pm in @INC (you may need to install the Win32::Shortcut module) (@INC entries checked: C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at list.pl line 1.
BEGIN failed--compilation aborted at list.pl line 1.

From the error message, I can see that it is looking at the correct install location (C:/Strawberry/perl/vendor/lib). That lib folder has a Win32 subfolder but there is no shortcut.pm file there. It would appear the standard install doesn't have that pm.

While I can find refences to the Win32 module and the shortcut.pm, I can't find a download. How do I correct this issue?

Upvotes: 0

Views: 34

Answers (0)

Related Questions