- or download this
my $char = $self->_peek_char();
- or download this
> perl isJson.pl < file.json
Valid JSON.
...
> perl loops.pl
okTook 446s.
- or download this
> perl skip.pl
okTook 235s.
- or download this
> perl loops.pl
panicTook 402s.
...
> perl isJson.pl < file.json
Invalid bare word (troo) at line 1020000, pos 8 (t)
Took 39s.
- or download this
#!/usr/bin/perl -w
use strict;
...
fail( undef, "Unclosed aggregate $stack[-1]" )
if @stack;
warn "Valid JSON.\n";