in reply to Optionally / safely disabling a warning category for a complete package
Hi Corion,
How about using if:
no if $] >= 5.020, warnings => 'experimental::signatures';
Inspired by perl5180delta.
Update: Changed 5.022 to 5.020 since that's when signatures were added.
Hope this helps,
-- Hauke D
|
|---|