ProhibitExplicitReturnUndef (severity 5): returning undef explicitly is wrong because it forces scalar context on callers. 'return;' returns undef in scalar context and an empty list in list context, which is the correct idiom. Fixed all 7 occurrences in FreeNAS.pm. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| PVE/Storage | ||
| REST | ||