Statocles::Util - Various utility functions to reduce dependencies
version 0.060
use Statocles::Util qw( dircopy ); dircopy $source, $destination;
This module contains some utility functions to help reduce non-core dependencies.
dircopy $source, $destination;
Copy everything in $source to $destination, recursively.
my $was_run = run_editor( $path );
Invoke the user's text editor (from the EDITOR environment variable) to edit the given path. Returns true if an editor was invoked, false otherwise. If the editor was not able to be invoked (EDITOR was set but could not be run), an exception is thrown.
EDITOR
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2015 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.