5b7a4d0354d236b3ee4d105671d0ac9321ae3d04
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Record.pm
1 # $Id: Record.pm,v 1.3 2006-07-11 16:14:47 mike Exp $
2
3 package ZOOM::IRSpy::Record;
4
5 use 5.008;
6 use strict;
7 use warnings;
8
9 =head1 NAME
10
11 ZOOM::IRSpy::Record - record describing a target for IRSpy
12
13 =head1 SYNOPSIS
14
15  ### To follow
16
17 =head1 DESCRIPTION
18
19 I<### To follow>
20
21 =cut
22
23 sub new {
24     my $class = shift();
25     my($target, $zeerex) = @_;
26
27     ### Should compile the ZeeRex record into something useful.
28     return bless {
29         target => $target,
30         zeerex => $zeerex,      # Do we actually need this for anything?
31     }, $class;
32 }
33
34
35 #use XML::Simple qw(:strict);
36 #my %attr = (KeyAttr => [], KeepRoot => 1);
37 #my $config = XMLin("foo.xml", %attr, ForceArray => 1, ForceContent => 1);
38 #print XMLout($config, %attr);
39
40
41 =head1 SEE ALSO
42
43 ZOOM::IRSpy
44
45 =head1 AUTHOR
46
47 Mike Taylor, E<lt>mike@indexdata.comE<gt>
48
49 =head1 COPYRIGHT AND LICENSE
50
51 Copyright (C) 2006 by Index Data ApS.
52
53 This library is free software; you can redistribute it and/or modify
54 it under the same terms as Perl itself, either Perl version 5.8.7 or,
55 at your option, any later version of Perl 5 you may have available.
56
57 =cut
58
59 1;