[MOBY] [MOBY-dev] bug(s) in method DUMP

Mark Wilkinson markw at illuminae.com
Sat Oct 18 13:33:58 EDT 2003


On Fri, 2003-10-17 at 18:21, Martin Senger wrote:

>    Now back to my suggestion: because I thought that it was in one file

but it isn't in *any* file!  It is passed to you in 5 separate strings,
which you may or may not chose to write to a file.

> suggested to separate that file be lines opening each database (use).

like so:

$C = MOBY::Client::Central->new;
my $SQL = $C->DUMP;
@DB = @{$SQL};
foreach (qw(mobycentral mobyobject mobyservice mobynamespace
mobyrelationship)){
	$db = shift @DB;
	print "use $_\n$db\n\n";
}

or the Java equivalent...

M


-- 
Mark Wilkinson <markw at illuminae.com>
Illuminae



More information about the MOBY-dev mailing list