Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Why doesn't Perl 6 have -V ?

by Cody Fendant (Hermit)
on Aug 11, 2010 at 02:40 UTC ( [id://854198]=perlquestion: print w/replies, xml ) Need Help??

Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:

One of the first things I did when I installed Rakudo was

perl6 -v

which wasn't that exciting, but so what? So then I did:

perl6 -V

Which just gives an error message because there's no file called "-V". So ... will it have a -V one day? Or is there another way to do that?

Replies are listed 'Best First'.
Re: Why doesn't Perl 6 have -V ?
by moritz (Cardinal) on Aug 11, 2010 at 06:56 UTC
    Try $ perl6 --version

    docs/running.pod for a list of available options.

    We know that Rakudo's command line parsing isn't great yet, particle worked on it for a while, but got distracted by real-life things :(

    Perl 6 - links to (nearly) everything that is Perl 6.
      --version gives even less detail than "-v"!
        And just to confuse you further:
        parrot -V
        (uppercase) gives the version, but:
        parrot -v
        (lowercase) turns on verbose mode. Before you try, -Vv does not appear to do anything special.
Re: Why doesn't Perl 6 have -V ?
by xiaoyafeng (Deacon) on Aug 11, 2010 at 09:03 UTC

    Of course perl6 should support -v and -V. But please consider below 2 reasons:

    • Rakudo star now just implement subset of perl6 spec
    • S19 is involving evolving, might be changed radically in future.

    So I think -V should have low priority compared to other more important feature.

    Besides, although rakudo star is not perfect yet, it still deserve us applaud.





    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Re: Why doesn't Perl 6 have -V ?
by chromatic (Archbishop) on Aug 11, 2010 at 05:52 UTC

    What do you expect perl6 -V to do?

      The same thing it would do in Perl 5, of course!

      Small v:

      This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 5 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1004 [287188] provided by ActiveState http://www.ActiveSt +ate.com Built Sep 3 2008 13:16:37 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

      Big v:

      Summary of my perl5 (revision 5 version 10 subversion 0) configuration +: Platform: osname=MSWin32, osvers=5.00, 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=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE +_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT +_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHAS +ATTRIBUTE -fno-strict-aliasing -mms-bitfields', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='undef', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64 +', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-L"C:\Perl\lib\CORE"' libpth=\lib libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 +-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm + -lversion -lodbc32 -lodbccp32 -lmsvcrt perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvap +i32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw +inmm -lversion -lodbc32 -lodbccp32 -lmsvcrt libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"' 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 USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1004 [287188] 33741 avoids segfaults invoking S_raise_signal() (on Linux) 33763 Win32 process ids can have more than 16 bits 32809 Load 'loadable object' with non-default file extension 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Sep 3 2008 13:16:37 @INC: C:/Perl/site/lib C:/Perl/lib .
        The same thing it would do in Perl 5, of course!
        But if it would do everything the same as it does in Perl 5, there wouldn't be any need for Perl 6! ;-)

      The information required to replicate the environment in which a bug occurred.

      • Version
      • Platform details
      • Build options
      • @INC
      • List of environment variables that affect Perl (/PERL.*/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://854198]
Approved by ww
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found