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.