The pod documentation says to call load_string($string) but I get error message showing three arguments. What are the arguments?
Usage: Google::ProtocolBuffers::Dynamic::load_string(THIS, file, sv) at bin/proto-to-module.pl line 14.
Here is my program:
use Google::ProtocolBuffers::Dynamic;
my $s = q/ message Person { required string name = 1; } /;
my $dynamic = Google::ProtocolBuffers::Dynamic->new;
$dynamic->load_string($s);
The pod documentation says to call load_string($string) but I get error message showing three arguments. What are the arguments?
Usage: Google::ProtocolBuffers::Dynamic::load_string(THIS, file, sv) at bin/proto-to-module.pl line 14.
Here is my program:
use Google::ProtocolBuffers::Dynamic; my $s = q/ message Person { required string name = 1; } /; my $dynamic = Google::ProtocolBuffers::Dynamic->new; $dynamic->load_string($s);