Looks pretty good to me. Might want to add 'use warnings;' after your 'use strict;'. Have to assume that 'use OSM::osm;' is a module you got from somewhere? I did not see it on CPAN, though I did see a number of GEO::OSM::* modules that look like they might be useful to you, including what appears to be a parser -> Here.
Am thinking that you will want to include the DBD::mysql and company when you start pumping those variable into your database.
Not exactly sure what you are looking for,(what is the question specifically)? 'Does this fit?' is a little bit open ended...
Hope there is something here you find useful..Insanity: Doing the same thing over and over again and expecting different results...
In reply to Re: from osm to mysql
by wjw
in thread from osm to mysql
by Perlbeginner1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |