#!/usr/bin/perl
#use Mooix::Thing;
run sub {
	my $this=shift;
	%_=@_;
	
	my ($stat, $msg) = $this->safechange(
		object => $_{direct_object},
		field => "name",
		value => $_{quote},
	);
		
	if (! $stat) {
		fail $msg;
	}
	else {
		$_{session}->write("Name changed.");
	}
}
