Help for this page

Select Code to Download


  1. or download this
    class testing {
        method newhash(*%args) {
    ...
    my $y = testing.newarray(c => 3, d => 4);  # Looks good, but doesn't w
    +ork
    
    my $z = testing.newarray('e', 5, 'f', 6);  # Works, but ugly
    
  2. or download this
    Hash Key b => Value 2
    Hash Key a => Value 1
    Array Key e => Value 5
    Array Key f => Value 6