Help for this page

Select Code to Download


  1. or download this
    sub size(){
        # setSize()
    ...
        return scalar keys (%dictionary);
        
    }
    
  2. or download this
    sub size {
        # setSize()
        # Returns the number of unique elements in bag.
        return scalar keys %{ shift() };   
    }