Thursday, April 28, 2022

[FIXED] How could I find out what kind of warnings get enabled when I use the warning-pragma?

Issue

Is there a command or a variable that shows me all the different warnings which get enabled when I use the warning-pragma?


Solution

perldoc warnings shows the hierarchy of categories warnings uses. (Though before perl 5.20, this was in perldoc perllexwarn.)



Answered By - ysth
Answer Checked By - Mary Flores (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.