| Metaweb documentation | Contained in the Metaweb distribution. |
Metaweb::Result - Result set from a Metaweb query
my $mw = Metaweb->new($args);
$mw->login();
my $result = $mw->query($name, $query_hash);
# $result isa Metaweb::Result
use Data::Dumper;
print Dumper $result;
This class doesn't do much of anything yet. It just gives you an object you can treat as a hashref.
Simple constructor. Takes a result as a perl data structure and basically just turns it into a Metaweb::Result object.
| Metaweb documentation | Contained in the Metaweb distribution. |
package Metaweb::Result; use strict; use warnings;
sub new { my ($class, $result) = @_; my $self = { content => $result }; bless $self, $class; return $self; }
1;