| 1 | package MYDan; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | mydan - A suite of cluster administration tools and platforms | ||
| 9 | |||
| 10 | http://www.mydan.org | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | our $VERSION = '0.1.4'; | ||
| 15 | our $PATH; | ||
| 16 | |||
| 17 | require 5.000; | ||
| 18 | require Exporter; | ||
| 19 | our @EXPORT_OK = qw( $PATH ); | ||
| 20 | our @ISA = qw(Exporter); | ||
| 21 | use FindBin qw( $RealBin ); | ||
| 22 | |||
| 23 | BEGIN{ | ||
| 24 | my @path; | ||
| 25 | unless( $PATH = $ENV{MYDanPATH} ) | ||
| 26 | { | ||
| 27 | for( split /\//, $RealBin ) | ||
| 28 | { | ||
| 29 | push @path, $_; | ||
| 30 | last if $_ eq 'mydan'; | ||
| 31 | } | ||
| 32 | die 'nofind MYDanPATH' unless @path; | ||
| 33 | $ENV{MYDanPATH} = $PATH = join '/', @path; | ||
| 34 | } | ||
| 35 | }; | ||
| 36 | |||
| 37 | =head1 MODULES | ||
| 38 | |||
| 39 | =head3 Node | ||
| 40 | |||
| 41 | A cluster information management platform | ||
| 42 | |||
| 43 | MYDan::Node | ||
| 44 | MYDan::Node::Range | ||
| 45 | MYDan::Node::KeySet | ||
| 46 | MYDan::Node::Integer | ||
| 47 | MYDan::Node::Cache | ||
| 48 | MYDan::Node::Call | ||
| 49 | MYDan::Node::DBI::Cache | ||
| 50 | MYDan::Node::DBI::Root | ||
| 51 | |||
| 52 | a agent | ||
| 53 | |||
| 54 | Agent | ||
| 55 | |||
| 56 | =head3 API | ||
| 57 | |||
| 58 | platform api | ||
| 59 | |||
| 60 | MYDan::API | ||
| 61 | |||
| 62 | |||
| 63 | =head1 AUTHOR | ||
| 64 | |||
| 65 | Lijinfeng, C<< <lijinfeng2011 at github.com> >> | ||
| 66 | |||
| 67 | =head1 LICENSE AND COPYRIGHT | ||
| 68 | |||
| 69 | Copyright 2017 lijinfeng2011. | ||
| 70 | |||
| 71 | This program is free software; you can redistribute it and/or modify it | ||
| 72 | under the terms of either: the GNU General Public License as published | ||
| 73 | by the Free Software Foundation; or the Artistic License. | ||
| 74 | |||
| 75 | =cut | ||
| 76 | |||
| 77 | 1; |