in reply to warnings pragma anomaly

http://perldoc.perl.org/perldiag.html#Useless-use-of-%s-in-void-context
This warning will not be issued for numerical constants equal to 0 or +1 since they are often used in statements like 1 while sub_with_side_effects(); String constants that would normally evaluate to 0 or 1 are warned abo +ut.

*dump* Tutorials: Context in Perl: Context tutorial, "List" Is a Four-Letter Word, Easy Reference for Contexts no expected 'Useless use of a constant in void context' warning for expression in return statement Is there a better way of dealing with !~ and "Useless use of not in void context at" warnings? Sometimes it's in Void Context Unusual 'constant in void context' warnings

  • Comment on Re: warnings pragma anomaly ( missing Useless use of %s in void context not issued)
  • Download Code