Help for this page

Select Code to Download


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