GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AI::CATEGORIZER::STORABLE (3)

.ds Aq ’

NAME

AI::Categorizer::Storable - Saving and Restoring State

CONTENTS

SYNOPSIS



  $object->save_state($path);
  ... time passes ...
  $object = Class->restore_state($path);



DESCRIPTION

This class implements methods for storing the state of an object to a file and restoring from that file later. In AI::Categorizer it is generally used in order to let data persist across multiple invocations of a program.

METHODS

save_state($path) This object method saves the object to disk for later use. The $path argument indicates the place on disk where the object should be saved.
restore_state($path) This class method reads the file specified by $path and returns the object that was previously stored there using save_state().

AUTHOR

Ken Williams, ken@mathforum.org

COPYRIGHT

Copyright 2000-2003 Ken Williams. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

AI::Categorizer(3), Storable(3)

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 57: You forgot a ’=back’ before ’=head1’
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AI::CATEGORIZER::STORABLE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.