The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

protoc-gen-perl-gpd-add-pragma - protoc plugin demonstrating insertion points

SYNOPSIS

    protoc --perl-gpd_out=<mapping options>:<output path> --perl-gpd-add-pragma_out=package=<Perl package>,pragma=Sub.StrictDecl:<output path> message.proto

DESCRIPTION

This protoc plugin is mostly a demonstration of insertion points, but can also be used to add additional pragmas as the top of the Perl module generated by protoc.

To see how insertion points can be used, check the source code of Google::ProtocolBuffers::Dynamic::AddPragma.