Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Can't locate Convert/BER.pm

by Tux (Canon)
on Jul 25, 2022 at 14:26 UTC ( [id://11145703]=note: print w/replies, xml ) Need Help??


in reply to Can't locate Convert/BER.pm

Unless Windows, most of the rest of the world of automation is case-sensitive, and Convert::BER is not the same as CONVERT::BER (and probably never will be). I expect the second link to return you a 404.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Can't locate Convert/BER.pm (use Case::Insensitive on WIN)
by LanX (Saint) on Jul 25, 2022 at 15:27 UTC
    > Unless Windows, most of the rest of the world of automation is case-sensitive

    maybe it's relevant here to remark that use on WIN will show a split personality.

    the require will be case insensitive but the import will fail, because the latter expects a case sensitive package name

    this will lead to somehow schizophrenic error conditions.

    C:\tmp\pm>perl -MData::Dumper -we"print Dumper [1..3]" # Correct C +asing, NO Problems $VAR1 = [ 1, 2, 3 ]; C:\tmp\pm>perl -MdAtA::DuMpER -we1 # NO Error +Msg on Win C:\tmp\pm>perl -MdAtA::DuMpER -we"print Dumper [1..3]" # BUT won't + work! Name "main::Dumper" used only once: possible typo at -e line 1. print() on unopened filehandle Dumper at -e line 1. C:\tmp\pm>perl -MdAtA::DuMpER::FAKE -we1 # What we r +eally expected ... Can't locate dAtA/DuMpER/FAKE.pm in @INC (you may need to install the +dAtA::DuMpER::FAKE module) ... C:\tmp\pm>

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

Re^2: Can't locate Convert/BER.pm
by mallett76 (Sexton) on Jul 27, 2022 at 13:30 UTC
    Sorry - I probably should have stated. I have windows.

      Nah, that was a giveaway :)

      Just try again with the correct casing


      Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found