Re: [code-review] Re: Tie::Array::Sorted

Fergal Daly <[email protected]> Thu, 13 Nov 2003 20:17:18 +0000
Newsgroups gmane.comp.lang.perl.code-review-ladder
Message-ID <[email protected]>
Sorry, I have no idea why I wrote set, I was really thinking "bag" or=20
"multiset". So just

$my_email =3D~ s/\bset/\b/bag/gi

and it makes perfect sense,

=46

On Thursday 13 November 2003 19:16, Xavier Noria wrote:
> El jueves, 13 novi, 2003, a las 18:16 Europe/Madrid, Fergal Daly=20
> escribi=F3:
> Just to add my two cents to this amazing thread (in the sense that it=20
> is showing the usefulness of the list) I don't understand why some=20
> people relate sets to this. From the very name I think the intention of=20
> the module is clear: you've got arrays, only they are kept sorted=20
> automatically.
>=20
> An array is different from a set in Perl jargon, so the name and the=20
> implementation are OK for me (I agree with s/Tie::// but that's another=20
> issue). It would surprise me if duplicates were removed, they are not=20
> removed in everyday arrays, and the module is about arrays.
>=20
> -- fxn
>=20
> _______________________________________________
> code-review-ladder mailing list
> code-review-ladder-wool9L35kiek0rBIEb6pKdBc4/[email protected]
> http://lists.netthink.co.uk/listinfo/code-review-ladder
>=20
>=20