Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The XML file is 42Mb, is there anything I can do$db->do("begin"); $del = $db->prepare("delete from master where org = '$we'"); $del->execute; my $we = "hh"; my $response = XMLin("katrina.xml"); for my $id (keys %{$response->{offer}}) { $db2->execute($we,$id,$response->{offer}->{$id}->{city},$response->{of +fer}->{$id }->{state},$response->{offer}->{$id}->{zip},$response->{offer}->{$id}- +>{link},$r esponse->{offer}->{$id}->{slots_available},$response->{offer}->{$id}-> +{descripti on}); } $db->commit();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Katrina Parseing perl script
by Zaxo (Archbishop) on Sep 10, 2005 at 01:19 UTC | |
by Anonymous Monk on Sep 10, 2005 at 02:42 UTC | |
|
Re: Katrina Parseing perl script
by pg (Canon) on Sep 10, 2005 at 01:19 UTC | |
|
Re: Katrina Parseing perl script
by raptnor2 (Beadle) on Sep 10, 2005 at 01:57 UTC | |
|
Re: Katrina Parseing perl script
by Tanktalus (Canon) on Sep 10, 2005 at 01:35 UTC | |
|
Re: Katrina Parseing perl script
by davidrw (Prior) on Sep 10, 2005 at 13:18 UTC | |
|
Re: Katrina Parseing perl script
by holli (Abbot) on Sep 10, 2005 at 14:37 UTC | |
|
Re: Katrina Parseing perl script
by planetscape (Chancellor) on Sep 11, 2005 at 04:28 UTC |