http://qs1969.pair.com?node_id=1167546


in reply to Re^2: socket programming
in thread socket programming

.packlist, Socket.bs, Socket.dll, I don't see Socket.xs.dll

The files you're seeing are not from Strawberry 5.24. They are part of a much older version.
".bs" files are no longer installed, and Strawberry now builds ".xs.dll" files instead of ".dll".

Your problem will go away if you remove that Socket installation (in its entirety) from perl/site/lib.
That will enable perl/lib/Socket.pm (which shipped with Strawberry) to be loaded - and all should work fine.

However, it's likely that there are other extensions from the older perl present in perl/site/lib.
Removing everything from the perl/site/lib folder is a valid option.
That folder is normally empty when perl is installed - the only modules that go into it are the ones that you subsequently install (or, as in your case, the files that were there from a previous installation :-)

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: socket programming
by Cow1337killr (Monk) on Jul 11, 2016 at 01:14 UTC

    Just to clarify, if it was me, I would uninstall and reinstall Strawberry Perl.

    (This is lingo from Windows XP, but your installation is similar.)

    Settings

    Control Panel

    Add or Remove Programs

    Scroll down to Strawberry Perl

    Click the Remove button.

    Exit the windows.

    Download the latest Strawberry Perl from the website, i.e., http://strawberryperl.com/.

    That should be a .msi file.

    Run it.

      Yes, after re-installing it works... Thanks!

Re^4: socket programming
by hmvasista (Novice) on Jul 11, 2016 at 01:44 UTC
    I re-installed perl on my PC, and deleted the old folder. I could now see Socket.xs.dll and .packlist and bingo! now it works. Thanks a ton!