Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/pugs
    use v6;
    ...
            say @result;#
            @array = <a b b c d e b b b b f b>;
            # @array.uniq @array.max @array.min; to do in pugs
    
  2. or download this
    #!/usr/bin/pugs
    use v6;
    ...
    
      say %hash.exists("b");#prints 1
      %hash.exists("x");
    
  3. or download this
    #!/usr/bin/pugs
    use v6;
    ...
      say "z $z";
    }