Deprecation warning under 5.18 #3

Closed
jest opened this Issue Dec 21, 2013 · 2 comments

Comments

Projects
None yet
2 participants

jest commented Dec 21, 2013

Perl 5.18 deprecated given-when constructs. IO::Any uses them together with use warnings, which results in cluttered output from any code using IO::Any.

The simplest workaround is to disable this specific deprecation warning in the module with something like

no if $^V ge v5.18, warnings => 'experimental::smartmatch';
Owner

jozef commented Dec 23, 2013

should be fixed by replacing smartmatch.

@jozef jozef added a commit that referenced this issue Dec 23, 2013

@jozef jozef replace smartmatches (#3) 72d05ca
Owner

jozef commented Dec 23, 2013

version 0.07 just uploaded to cpan

jozef closed this Dec 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment