Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3402100
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:05:48+00:00 2026-05-18T05:05:48+00:00

The command for finding the perl version perl -V gives information related Platform, Compiler,

  • 0

The command for finding the perl version “perl -V” gives information related
Platform, Compiler, Linker and Libraries, Dynamic Linking, Compile-time options & Locally applied patches. Could you please let me know from where each of these information’s are extracted(Environment variables or any other method) and description of various parameters under each group.
I am facing problem in library files inclusion because of many version of Perl installed in my machine.

Below is the description I got from my machine:

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:

   Platform:
        osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
        uname=''
        config_args='undef'
        hint=recommended, useposix=true, d_sigaction=undef
        useithreads=define, usemultiplicity=define
        useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
        use64bitint=undef, use64bitall=undef, uselongdouble=undef
        usemymalloc=n, bincompat5005=undef
    Compiler:
        cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTE
    XT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX',
        optimize='-s -O2',
        cppflags='-DWIN32'
        ccversion='', gccversion='3.4.5', gccosandvers=''
        intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
        d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
        ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek
    size=8
        alignbytes=8, prototype=define
      Linker and Libraries:
        ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li
    b"'
        libpth=C:\strawberry\c\lib
        libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
    -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
     -lversion -lodbc32 -lodbccp32
        perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl
    g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw
    inmm -lversion -lodbc32 -lodbccp32
        libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a
        gnulibc_version=''
      Dynamic Linking:
        dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
        cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st
    rawberry\c\lib"'


    Characteristics of this binary (from libperl):
      Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                            PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                            PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
                            USE_LARGE_FILES USE_PERLIO
      Built under MSWin32
      Compiled at Apr 30 2009 14:30:10
      %ENV:
        PERL5_INCLUDE="C:\Perl\lib\CORE\"
        PERL5_LIB="C:\Perl\lib\CORE\"
      @INC:
        C:/Perl/lib
        C:/Perl/site/lib
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:05:49+00:00Added an answer on May 18, 2026 at 5:05 am

    See Config.

    The Config module contains all the information that was available to the Configure program at Perl build time (over 900 values).

    You can query the value of an individual variable. E.g.,

    C:\> perl -V:intsize
    

    Now, if you have multiple Perl installations on Windows, you need to be careful. I have six separate versions on my machine. At some point, I decided to use the ActiveState distribution as the “system” one. Therefore, my path starts with the bin directories of that distribution:

    Path=c:\opt\perl\site\bin;c:\opt\perl\bin; ...
    

    The other ones live in their own directories. I have batch files for all of them. These batch files simply prepend the relevant bin directories to the path. I can also explicitly invoke them by path. E.g.,

    E:\Home> c:\opt\strawberry-5.12.1\perl\bin\perl -V

    In addition, I use Console2 which enables me to open cmd.exe shells in tabs with the correct settings for each tab. Finally, I used FileMenu Tools to set up right-click short cuts to open command prompts with the relevant settings applied.

    This way, I can use one main Perl for day-to-day development and other versions are available as needed. And, none of them tramples on each other’s toes.

    Keep in mind that, while it does not seem to be absolutely necessary, you should set up each distributions cpan to use a version specific directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.