/usr/share/doc/libnetsds-perl/examples/serialize.pl is in libnetsds-perl 1.301-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/usr/bin/env perl
use 5.8.0;
use strict;
use warnings;
use Data::Dumper;
use NetSDS::Class::Abstract;
my $obj = NetSDS::Class::Abstract->new(
zuka => '123',
buka => 'sdfsdf',
);
print Dumper($obj);
print "Serializing... ";
my $ser = $obj->serialize();
my $new = NetSDS::Class::Abstract->deserialize($ser);
print "done\n";
print Dumper($new);
#$obj->nstore("/tmp/_tmp_obj.stor" );
1;
|