The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Terse::Plugin::Glitch - The great new Terse::Plugin::Glitch!

VERSION

Version 0.02

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

package Intangible;

use base 'Terse';
use Terse::Plugin::Glitch;

sub build_terse {
	$_[0]->glitch = Terse::Plugin::Glitch->new(
		glitch_config => 't/lib/glitch.conf',
		format => 'YAML'
	);
}

sub auth {
	...
	$_[1]->response->raiseError($_[0]->glitch->call('unauthenticated')->hash);
}

...

package Intangible::Money::Plugin::Glitch;

use base 'Terse::Plugin::Glitch';

sub build_glitch_config {
	my ($self) = shift;
	$self->glitch_config = 'path/to/config.yml';
	$self->format = 'YAML';
}

package Intagible::Money;

use base 'Terse::App';

sub auth {
	...
	$_[1]->plugin('glitch')->logError($_[1], 'unauthenticated');
}

1;

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-terse-plugin-glitch at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Terse-Plugin-Glitch. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Terse::Plugin::Glitch

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2023 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)