cleaned up demo scripts locations
[urisagit/Stem.git] / lib / Stem.pm
CommitLineData
4536f655 1# File: Stem.pm
2
3# This file is part of Stem.
4# Copyright (C) 1999, 2000, 2001 Stem Systems, Inc.
5
6# Stem is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10
11# Stem is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15
16# You should have received a copy of the GNU General Public License
17# along with Stem; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
20# For a license to use the Stem under conditions other than those
21# described here, to purchase support for this software, or to purchase a
22# commercial warranty contract, please contact Stem Systems at:
23
24# Stem Systems, Inc. 781-643-7504
25# 79 Everett St. info@stemsystems.com
26# Arlington, MA 02474
27# USA
28
29package Stem ;
30
31=head1 Stem.pm - A Network Application Toolkit and Framework
32
33This module load these core Stem modules:
34
35 Stem::Util ; # support utilities
36 Stem::Class ; # object constructor
37 Stem::Event ; # event loop
38 Stem::Msg ; # message creation and delivery
39 Stem::Route ; # message routing
40 Stem::Vars ; # stem environment
41 Stem::Conf ; # configuration file handling
42 Stem::Log ; # logging services
43
44You can create a script and just use Stem.pm (see the tests in t/ for
45some examples) but most Stem applications will use the startup script
46<B>run_stem</B> which loads this module and your configuration files.
47
48=cut
49
50
51
52use strict ;
53use vars qw( $VERSION ) ;
54
55$VERSION = 0.12 ;
56
57use Stem::Util ;
58use Stem::Class ;
59use Stem::Event ;
60use Stem::Msg ;
61use Stem::Route qw( :cell ) ;
62use Stem::Vars ;
63use Stem::Conf ;
64use Stem::Log ;
65#use Stem::Hub ;
66
67register_class( __PACKAGE__, 'stem' ) ;
68
69
70sub version_cmd {
71
72 return "Stem Version: $VERSION" ;
73}
74
751 ;