Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Can't locate strict.pm in @INC (@INC contains: .)

by Weiling (Novice)
on Oct 31, 2019 at 12:28 UTC ( [id://11108171]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Can't locate strict.pm in @INC (@INC contains: .)
in thread Can't locate strict.pm in @INC (@INC contains: .)

Ok, after modify the patch and a reboot, situation evolving.. a little. When i try to launch a perl script, i have this error message, who's not the same as earlier:
PS E:\data\Perl\script> perl -V nul: Perl lib version (5.28.1) doesn't match executable 'C:\Strawberry +\perl\bin\perl.exe' version (5.30.0) at C:/Strawbe rry/perl/lib/Config.pm line 62. Compilation failed in require. BEGIN failed--compilation aborted.

Replies are listed 'Best First'.
Re^5: Can't locate strict.pm in @INC (@INC contains: .)
by Corion (Patriarch) on Oct 31, 2019 at 12:33 UTC

    This means that you or somebody else copied perl.exe 5.30.0 into C:\Strawberry\perl\bin\ and perl.dll from a 5.28.1 directory.

    The Perl version(s) below C:\Strawberry are most likely mixed between versions now. If you have other Perl versions installed in other directories, consider renaming them away and retrying, to see whether Windows picks up a perl.dll from a different Perl version than you want.

    Mixing files between Perl versions is unsupported and will lead only to problems.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-26 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found