in reply to Re: Unicode in one-liner
in thread Unicode in one-liner

Great, I knew there was a nicer way.

Unfortunately there does not seem to be a way to combine all the flags (the way you can combine "n" and "e" or "E"), so one has to live with two flag-groups.

As the "ne"-combination is something I am already used to, I am going to use

perl -C -ne '...'
Many thanks!

Replies are listed 'Best First'.
Re^3: Unicode in one-liner
by Anonymous Monk on Dec 27, 2016 at 03:16 UTC

    Unfortunately switches

    :D

    I never use switches ;)

    perllanse " print join q{,}, map { qq{\x22$_\x22} } @F " perllansE " say join q{,}, map { qq{\x22$_\x22} } @F " perllCSDanse " print join q{,}, map { qq{\x22$_\x22} } @F " perllCSDansE " say join q{,}, map { qq{\x22$_\x22} } @F "

      Doesn’t work for me:

      13:18 >perllanse "print 'Hi!';" 'perllanse' is not recognized as an internal or external command, operable program or batch file. 13:19 >perl -v This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x +64-multi-thread-ld ...

      Are you using some form of aliasing scheme?

      Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

        Doesn’t work for me: ... Are you using some form of aliasing scheme?

        Unfortunately I'm using humor

        But no, I dislike aliases and prefer executables

      I never use switches either.

      I use flags.

      Don't quote what has not been said...

        Don't quote what has not been said...

        -switch -flag -switch -flag -switch -flat +humor