package SPOPS::Export::Perl; # $Id: Perl.pm,v 3.3 2004/06/02 00:48:22 lachoy Exp $ use strict; use base qw( SPOPS::Export ); use Data::Dumper qw( Dumper ); $SPOPS::Export::Perl::VERSION = sprintf("%d.%02d", q$Revision: 3.3 $ =~ /(\d+)\.(\d+)/); my @track = (); sub create_footer { my $o = Dumper( \@track ); @track = (); return $o; } sub create_record { push @track, $_[1]; return '' } 1; __END__ =head1 NAME SPOPS::Export::Perl - Dump SPOPS objects to a pure serialized Perl format =head1 SYNOPSIS # See SPOPS::Export =head1 DESCRIPTION Just dump a set of SPOPS objects to a perl data structure using L. =head1 PROPERTIES No extra ones beyond L =head1 METHODS B Just track the record to be exported. B Dump all tracked records out using L. =head1 BUGS This will likely chew up tons of memory if you are exporting lots of objects. =head1 TO DO Nothing known. =head1 SEE ALSO L L =head1 COPYRIGHT Copyright (c) 2001-2004 intes.net, inc.. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 AUTHORS Chris Winters Echris@cwinters.comE