http://qs321.pair.com?node_id=1229611


in reply to Prepend a Moose attribute when changed

It may make more sense to prepend the extra string in your accessor.
package Test; use Moose; my $prepend = '/some_string/'; has appended => (is => 'rw'); around appended => sub { my ($orig, $self) = (shift, shift); my $value = $self->$orig(@_); return $prepend . $value; }; 1;