Help for this page

Select Code to Download


  1. or download this
    open DUMP, ">$dump_path" or die "Couldn't open file to dump: $!";
    print DUMP Data::Dumper->Dump([\%coords], ['coords']);
    close DUMP;    # close the city dump
    
  2. or download this
    open LOAD, "<$dump_path" or die "Couldn't open file to load: $!";
    local $/;
    ...
    close LOAD;
    eval { $struct };
    # then access %coords as usual