#!/usr/bin/env perl use Google::ProtocolBuffers::Dynamic::ProtocPlugin help => 'podusage', run => 'Google::ProtocolBuffers::Dynamic::AddPragma'; exit 0; __END__ =head1 NAME protoc-gen-perl-gpd-add-pragma - protoc plugin demonstrating insertion points =head1 SYNOPSIS protoc --perl-gpd_out=<mapping options>:<output path> --perl-gpd-add-pragma_out=package=<Perl package>,pragma=Sub.StrictDecl:<output path> message.proto =head1 DESCRIPTION This C<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 C<protoc>. To see how insertion points can be used, check the source code of L<Google::ProtocolBuffers::Dynamic::AddPragma>. =cut