Eric Windisch > Data-SExpression-Xen-0.0.2 > Data::SExpression::Xen

Download:
Data-SExpression-Xen-0.0.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.0.2   Source  

NAME ^

Data::SExpression::Xen - Lisp-style S-Expression parser compatable with Xen

VERSION ^

This documentation refers to Data::SExpression::Xen version 0.0.1

SYNOPSIS ^

Most users will wish to create a hash reference as such:

  use Data::SExpression::Xen;
  my $sxp = Data::SExpression::Xen->new();
  my $hashref = $sxp->as_hash($string);

It is also possible to create an array reference:

  use Data::SExpression::Xen;
  my $sxp = Data::SExpression::Xen->new();
  my @array = $sxp->as_array($string);

METHODS ^

new

Returns a new Data::SExpression::Xen object.

as_array (SCALAR)

Accepts string argument representing an S-Expression. Returns an array reference.

as_hash (SCALAR)

Accepts string argument representing an S-Expression. Returns a hash reference.

syntax highlighting: