Subject: | FLAT::Regex union() |
Date: | Sun, 26 Jun 2016 18:39:36 +1000 |
To: | bug-FLAT [...] rt.cpan.org |
From: | Kevin Ryde <user42_kevin [...] yahoo.com.au> |
In FLAT 0.9.1 on a debian i386 perl 5.22.1, a program
use strict;
use FLAT::Regex;
my $f1 = FLAT::Regex->new('a*');
my $f2 = FLAT::Regex->new('b*');
$f1->union($f2);
gets an error
Can't locate object method "new" via package "FLAT::Regex::op::alt"
(perhaps you forgot to load "FLAT::Regex::op::alt"?)
at /usr/share/perl5/FLAT/Regex.pm line 67.
The offending line is in the union() method.
Is it as simple as meant to be uppercase Op?