in reply to Re^4: JSON.pm returning "false" instead of false
in thread JSON.pm returning "false" instead of false

That's the point of making a minimal example.

  1. It is small enough to debug.
  2. It demonstrates the problem.

When you do those steps, you often find the answer yourself. If not, you'll know what to look at in the simple examples for next time.

  • Comment on Re^5: JSON.pm returning "false" instead of false