The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

use Moose;
extends 'Catalyst::Model';
content_type 'application/x-www-form-urlencoded';
has omit_scalar => (is=>'ro', property=>+{omit_empty=>0});
has omit_array => (is=>'ro', property=>+{indexed=>1, omit_empty=>0, model=>'OmitArray'});
__PACKAGE__->meta->make_immutable();
use Moose;
extends 'Catalyst::Model';
content_type 'application/x-www-form-urlencoded';
has test => (is=>'ro', property=>1);
__PACKAGE__->meta->make_immutable();