| 1 | package MYDan; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 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 | 1 | our $VERSION = '0.1.62'; | |||||||||
| 15 | 1 | our $PATH; | |||||||||
| 16 | |||||||||||
| 17 | 1 | require 5.000; | |||||||||
| 18 | 1 | require Exporter; | |||||||||
| 19 | 1 | our @EXPORT_OK = qw( $PATH ); | |||||||||
| 20 | 1 | our @ISA = qw(Exporter); | |||||||||
| 21 | 1 | ▶ | use FindBin qw( $RealBin ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | |||||||||||
| 23 | 1 | ▶ | BEGIN{ | ||||||||
|
Subroutine
BEGIN: called CC=5 SCAR=16.7
| |||||||||||
| 24 | 1 | my @path; | |||||||||
| 25 | 1 | ▶ | unless( $PATH = $ENV{MYDanPATH} ) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | { | ||||||||||
| 27 | 1 | for( split /\//, $RealBin ) | |||||||||
| 28 | { | ||||||||||
| 29 | 7 | push @path, $_; | |||||||||
| 30 | 7 | ▶ | last if $_ eq 'mydan'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 31 | } | ||||||||||
| 32 | 1 | ▶ | die 'nofind MYDanPATH' unless @path; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | 1 | $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 | 1; | |||||||||