Skip Menu |

This queue is for tickets about the Set-Object CPAN distribution.

Report information
The Basics
Id: 24966
Status: resolved
Priority: 0/
Queue: Set-Object

People
Owner: Nobody in particular
Requestors: nigel.metheringham [...] Dev.intechnology.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.19
Fixed in:
  • 1.20
  • 1.21
  • 1.22
  • 1.23
  • 1.24
  • 1.25



Subject: No documentation for equal method
There is no documentation for the equal method and its overload, so reading the code is the only way to discover it... Patch attached
Subject: equal_doc.patch
# This is a patch for Set-Object-1.19 to update it to Set-Object-1.19.docupd # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -u 'Set-Object-1.19/lib/Set/Object.pm' 'Set-Object-1.19.docupd/lib/Set/Object.pm' Index: ./lib/Set/Object.pm --- ./lib/Set/Object.pm Tue Jan 23 00:58:45 2007 +++ ./lib/Set/Object.pm Thu Feb 15 10:58:07 2007 @@ -210,6 +210,12 @@ Also available as overloaded operator C<%>. +=head2 equal( I<set> ) + +Return C<true> if this C<Set::Object> is equal to I<set>. + +Also available as operator C<==>. + =head2 subset( I<set> ) Return C<true> if this C<Set::Object> is a subset of I<set>. #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Thu Feb 15 11:00:11 2007 # Generated by : makepatch 2.03 # Recurse directories : Yes # Excluded files : (\A|/).*\~\Z # (\A|/).*\.a\Z # (\A|/).*\.bak\Z # (\A|/).*\.BAK\Z # (\A|/).*\.elc\Z # (\A|/).*\.exe\Z # (\A|/).*\.gz\Z # (\A|/).*\.ln\Z # (\A|/).*\.o\Z # (\A|/).*\.obj\Z # (\A|/).*\.olb\Z # (\A|/).*\.old\Z # (\A|/).*\.orig\Z # (\A|/).*\.rej\Z # (\A|/).*\.so\Z # (\A|/).*\.Z\Z # (\A|/)\.del\-.*\Z # (\A|/)\.make\.state\Z # (\A|/)\.nse_depinfo\Z # (\A|/)core\Z # (\A|/)tags\Z # (\A|/)TAGS\Z # p 'lib/Set/Object.pm' 24901 1171537087 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Thu Feb 15 11:00:11 2007] #### #### Patch checksum: 51 1751 41892 #### #### Checksum: 69 2449 34167 ####
Good point. I have added tests for POD coverage and documented the remaining functions. Fixes included in Set::Object 1.20