The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::CELL::Util - generalized, reuseable functions

VERSION

Version 0.165

SYNOPSIS

    use App::CELL::Util qw( utc_timestamp is_directory_viable );

    # utc_timestamp
    print "UTC time is " . utc_timestamp() . "\n";

    # is_directory_viable
    my $status = is_directory_viable( $dir_foo );
    print "$dir_foo is a viable directory" if $status->ok;
    if ( $status->not_ok ) {
        my $problem = $status->payload;
        print "$dir_foo is not viable because $problem\n";
    }

EXPORTS

This module provides the following public functions:

utc_timestamp
is_directory_viable

FUNCTIONS

utc_timestamp

is_directory_viable

Run viability checks on a directory. Takes: full path to directory. Returns paramhash containing two keys: 'status' (true/false) and 'problem' (description of problem).

stringify_args

Convert args (or any data structure) into a string -- useful for error reporting.