| 
 
 NAMEMouseX::AttributeHelpers::String SYNOPSIS    package MyHomePage;
    use Mouse;
    use MouseX::AttributeHelpers;
  
    has 'text' => (
        metaclass => 'String',
        is        => 'rw',
        isa       => 'Str',
        default   => '',
        provides  => {
            append => 'add_text',
            clear  => 'clear_text',
        },
    );
    package main;
    my $page = MyHomePage->new;
    $page->add_text("foo"); # same as $page->text($page->text . "foo");
    $page->clear_text;      # same as $page->text('');
DESCRIPTIONThis module provides a simple string attribute, to which mutating string operations can be applied more easily. PROVIDERSappendprependreplacematchchopchompincclearMETHODSmethod_constructorshelper_typehelper_defaultAUTHORNAKAGAWA Masaki <masaki@cpan.org> LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOMouseX::AttributeHelpers, MouseX::AttributeHelpers::Base 
 
  |