Crane::Base - Minimal base class for Crane projects
use Crane::Base;
Import this package is equivalent to:
use strict; use warnings; use utf8; use feature qw( :5.14 ); use open qw( :std :utf8 ); use Carp; use English qw( -no_match_vars ); use IO::Handle; use Readonly; use Try::Tiny;
use Crane::Base; say 'Hello!' or confess($OS_ERROR);
package Example; use Crane::Base qw( Exporter ); Readonly::Scalar(our $CONST => 'value'); our @EXPORT = qw( &example $CONST ); sub example { say 'This is an example!' or confess($OS_ERROR); } 1;
Please report any bugs or feature requests to https://rt.cpan.org/Public/Bug/Report.html?Queue=Crane or to https://github.com/temoon/crane/issues.
Tema Novikov, <novikov.tema@gmail.com>
Copyright (C) 2013-2014 Tema Novikov.
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.
RT Cpan
https://rt.cpan.org/Public/Dist/Display.html?Name=Crane
Github
https://github.com/temoon/crane
To install Crane, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crane
CPAN shell
perl -MCPAN -e shell install Crane
For more information on module installation, please visit the detailed CPAN module installation guide.