NAME

Salvation::MacroProcessor::Role - A role with most common methods for Salvation::MacroProcessor-enabled classes

DESCRIPTION

Example usage

package MyClass;

use Moose;

with 'Salvation::MacroProcessor::Role';

no Moose;

REQUIRES

Moose

METHODS

smp_spec

$object -> smp_spec( @query );

This method is a shorcut for:

require Salvation::MacroProcessor::Spec;

Salvation::MacroProcessor::Spec -> parse_and_new( $object, \@query );

smp_check

$object -> smp_check( @query );

This method is a shortcut for:

$object -> smp_spec( @query ) -> check( $object );

smp_select

$object -> smp_select();

This method is a shortcut for:

$object -> smp_spec( @query ) -> select();