Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E '
        my %A = (a => 1, b => 2, D => 3);
    ...
        say for "@{[sort keys %all_keys]}";
    '
    D a b y z
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
        my %A = (a => 1, b => 2, D => 3);
    ...
        say for "@{[sort keys %all_keys]}";
    '
    D a b y z
    
  3. or download this
    $ perl -Mstrict -Mwarnings -MO=Deparse -E '
        my %A = (a => 1, b => 2, D => 3);
    ...
    @(\my %all_keys){keys %A, keys %Z} = ();
    say $_ foreach (join $", @{[sort(keys %all_keys)];});
    -e syntax OK
    
  4. or download this
    $ perl -Mstrict -Mwarnings -MO=Deparse -E '
        my %A = (a => 1, b => 2, D => 3);
    ...
    @all_keys{keys %A, keys %Z} = ();
    say $_ foreach (join $", @{[sort(keys %all_keys)];});
    -e syntax OK
    
  5. or download this
    $ perl -v | head -2 | tail -1
    This is perl 5, version 39, subversion 3 (v5.39.3) built for cygwin-th
    +read-multi
    
  6. or download this
    $ perl -v | head -2 | tail -1
    This is perl 5, version 30, subversion 0 (v5.30.0) built for cygwin-th
    +read-multi
    
  7. or download this
    use feature 'current_sub', 'bitwise', 'evalbytes', 'fc', 'postderef_qq
    +', 'say', 'state', 'switch', 'unicode_strings', 'unicode_eval';