Dave Rolsky wrote:
> OTOH, set_time_zone() doesn't seem like it should 
> be creating a new set.

How about removing "set" from the method name -

 $br_set = $set->with_time_zone('America/Sao Paulo');
 $br_set = $br_set->with_locale('pt_BR');

The mutators, if any, could be:

 $set->change_time_zone(to => 'America/Sao Paulo');
 $set->change_locale(to => 'pt_BR');

Anyway, should I change both set_time_zone() and 
set(locale=>) to be mutators ?

- Flavio S. Glock


Reply via email to