- or download this
syntax error at ./script.pl line 8, near ""facts":"
- or download this
my $DATA = {
facts => [
{
...
print $DATA->{facts}[0]{name}; # A
print $DATA->{facts}[0]{type}; # Normal
- or download this
#!/usr/bin/perl
use warnings;
...
print $DATA->{facts}[0]{name}; # A
print $DATA->{facts}[0]{type}; # Normal