Bram wrote: >> If this is going to be a common enough use case for deprecated, >> conditional >> deprecation, why not build it in? >> >> use deprecated $] >= 5.11; >> >> Or to leave open the possibility of other arguments... >> >> use deprecated if => $] >= 5.11; >> > > That's not really backwards compatbile. Unless of course deprecated is > also added on CPAN and Switch has a dependency on it but that just seems > silly to me I presume you're referring to "use deprecated" in general and not specific syntax which is what I was really talking about. Ok, no problem, make it a dependency. It's not like Switch doesn't already have far more complicated dependencies. Having a general way to say "this module is deprecated under these conditions" seems useful. -- Insulting our readers is part of our business model. http://somethingpositive.net/sp07122005.shtmlThread Previous | Thread Next