Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

But the first argument to split() is treated as a regex pattern. Because $ indicates the end of the string, no splitting ever occurs.

Compliant Solution

...

Tool

Diagnostic

Perl::Critic

BuiltinFunctions::ProhibitStringySplit

Bibliography

 

...