---
name: "App::CELL::Util"
section: "3pm"
platform: "linux"
package: "libapp-cell-perl"
version: "0.231-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/App::CELL::Util"
---

# App::CELL::Util(3pm)

generalized, reuseable functions

## NAME

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

## 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:

- "is\_directory\_viable"

  - "stringify\_args"

  - "utc\_timestamp"

  ## PACKAGE VARIABLES

## FUNCTIONS

### is\_directory\_viable

Run viability checks on a directory. Takes: full path to directory. Returns true (directory viable) or false (directory not viable). If the directory is not viable, it sets the package variable `$App::CELL::Util::not_viable_reason`.

### stringify\_args

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

### utc\_timestamp
