NAME

WWW::MLite::Helper::Skel - WWW::MLite project skeleton

VERSION

Version 1.00

SYNOPSIS

use WWW::MLite::Helper::Skel;

my $skel = new WWW::MLite::Helper::Skel( -c => $c );

DESCRIPTION

WWW::MLite project skeleton

METHODS

new
my $skel = new WWW::MLite::Helper::Skel( 
        -ctk => $c,
        -ver => '1.00',
        -sharedir => '/foo/bar/baz',
    );

Creating Skel object

build
my $status = $skel->build( $path );

Building skeleton files with $path using it as temporary folder for archive. This method returns summary status of download and extract calls

checkstatus
my $status = $skel->checkstatus;

Check skeleton status. True - OK, False - need downloading and extracting

download
my $status = $skel->download( $path );

Download Skel's archive to $path

extract
my $status = $skel->extract( $path );

Extract files from downloaded Skel's archive in $path to share directory

readmanifest
my $manifest = $skel->readmanifest;

Loading data from MANIFEST file and returns it as hash reference in format { record => path }

readsummary
my $summary = $skel->readsummary;

Loading data from SUMMARY file

AUTHOR

Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>

COPYRIGHT

Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved

LICENSE

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See LICENSE file