File: Event_RPC_Test2.pm

package info (click to toggle)
libevent-rpc-perl 1.01-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 344 kB
  • sloc: perl: 1,844; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package Event_RPC_Test2;

use strict;

sub get_data			{ shift->{data}				}
sub set_data			{ shift->{data}			= $_[1]	}

sub new {
    my $class = shift;
    my ($data) = @_;
    
    return bless {
        data    => $data,
    }, $class;
}

sub get_object_copy {
    my $self = shift;
    return $self;
}

1;