1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 16:45:40 -04:00

Some debugging and fix the Foo namespace

This commit is contained in:
Ryan Voots 2016-01-01 23:46:00 -08:00
parent c756fea56d
commit 9364e7f05d
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -357,6 +357,7 @@ sub _parse_for_commands {
my( $self, $said, $commands ) = @_;
my $command_re = join '|', map "\Q$_", keys %$commands;
warn "$command_re";
$command_re = qr/$command_re/; #TODO move to _pre_build_chains and switch to Trie
if( (!$said->{addressed} && $said->{body} =~ s/^\s*($command_re)[:,;]\s*(.+)/$2/)

View file

@ -45,7 +45,7 @@ require JSON;
require Moose;
require MooseX::Declare;
eval "use MooseX::Declare; class Foo { has dongs => ( is => ro, isa => 'Int' ); };";
eval "use MooseX::Declare; class LoadAllMooseXDeclare { has dongs => ( is => ro, isa => 'Int' ); };";
require "utf8_heavy.pl";
use arybase;
use Errno;