Subject: | croak() returning line in eval instead of actual caller |
#!/usr/bin/perl
use strict;
use JSON;
print to_json( undef );
does:
hash- or arrayref expected (not a simple scalar, use allow_nonref to
allow this) at (eval 4) line 153.
eval? My script doesn't eval... somehow you've confused that croak().
This is with perl5.8.8 as distributed by CentOS-5.5