Help for this page

Select Code to Download


  1. or download this
    my %set;
    sub contains($) { return exists $set{$_[0]} }
    sub add($) { $set{$_[0]} = 1 }
    sub all($) { return [keys %set] }