in reply to Re: Introducing MooseX::hasn't
in thread Introducing MooseX::hasn't

It hasn't been deprecated yet (or at least, I don't get any warnings about it in 5.14.2, and there's no mention of its deprecation in perl5160delta), but it certainly seems a candidate for deprecation.

The module doesn't rely on the apostrophe though. If you happen to find yourself on Perl 5.18 or whatever, and can't use apostrophe, then just use hasn::t and everything will be good.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^3: Introducing MooseX::hasn't
by Anonymous Monk on Apr 03, 2012 at 21:46 UTC

    The module doesn't rely on the apostrophe though.

    Well, I think it does.  MooseX::hasn::t is much weaker than  MooseX::hasn't or even  MooseX::hasnot which is what you should have named this thing if you weren't trying to be c''l

    Cool, I guess replacing os with 's doesn't always work