> 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 Kind regards, BramThread Previous | Thread Next