1AI::Categorizer::StorabUlsee(r3)Contributed Perl DocumenAtIa:t:iCoantegorizer::Storable(3)
2
3
4

NAME

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

SYNOPSIS

9         $object->save_state($path);
10         ... time passes ...
11         $object = Class->restore_state($path);
12

DESCRIPTION

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

METHODS

20       save_state($path)
21           This object method saves the object to disk for later use.  The
22           $path argument indicates the place on disk where the object should
23           be saved.
24
25       restore_state($path)
26           This class method reads the file specified by $path and returns the
27           object that was previously stored there using "save_state()".
28

AUTHOR

30       Ken Williams, ken@mathforum.org
31
33       Copyright 2000-2003 Ken Williams.  All rights reserved.
34
35       This library is free software; you can redistribute it and/or modify it
36       under the same terms as Perl itself.
37

SEE ALSO

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

POD ERRORS

42       Hey! The above document had some coding errors, which are explained
43       below:
44
45       Around line 57:
46           You forgot a '=back' before '=head1'
47
48
49
50perl v5.32.0                      2020-07-28      AI::Categorizer::Storable(3)
Impressum