Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: "symbol lookup error" message help

by Special_K (Monk)
on Feb 03, 2023 at 21:52 UTC ( [id://11150153]=note: print w/replies, xml ) Need Help??


in reply to Re: "symbol lookup error" message help
in thread "symbol lookup error" message help

Here's what I don't understand:
I ran the following:


> which cpanm /bin/cpanm > head -n 1 /bin/cpanm #!/usr/bin/perl

I know that /usr/bin/perl on this machine is 5.26.3, yet if I look at the most recent cpanm build.log file, it says:

cpanm (App::cpanminus) 1.7044 on perl 5.026003 built for x86_64-linux- +thread-multi

Why does the log file list perl version 5.026003 when /usr/bin/perl is 5.26.3?

Replies are listed 'Best First'.
Re^3: "symbol lookup error" message help
by Corion (Patriarch) on Feb 03, 2023 at 22:02 UTC

    Because $], the variable containing the Perl version number has the value 5.026003. See the documentation in perlvar.

Re^3: "symbol lookup error" message help
by ikegami (Patriarch) on Feb 05, 2023 at 19:23 UTC

    5.026003 is 5.26.3.

    5.026003 |_||_| 26 3
Re^3: "symbol lookup error" message help
by Anonymous Monk on Feb 05, 2023 at 19:37 UTC
    See "perldoc version" (version on the CPAN).

    perl -le 'print $]'
    5.026003
    perl -le 'print $^V'
    v5.26.3
    perl -Mversion -le 'print version->parse("5.026003")->normal'
    v5.26.3
    perl -Mversion -le 'print version->declare("v5.26.3")->numify'
    5.026003

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150153]
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: (2)
As of 2024-04-20 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found