in reply to Re: Moose: Accessing subroutines in packages used by Moose class
in thread Moose: Accessing subroutines in packages used by Moose class

I gave it a whirl but X11::GUITest complained with:

Use of uninitialized value $titlerx in regexp compilation at /usr/lib/ +x86_64-linux-gnu/perl5/5.20/X11/GUITest.pm line 347. Use of uninitialized value $titlerx in regexp compilation at /usr/lib/ +x86_64-linux-gnu/perl5/5.20/X11/GUITest.pm line 347. ... Repeated many more times ... Use of uninitialized value $titlerx in regexp compilation at /usr/lib/ +x86_64-linux-gnu/perl5/5.20/X11/GUITest.pm line 347. Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linu +x-gnu/perl5/5.20/X11/GUITest.pm line 545.

Do you happen to have an inkling of what the issue might be? If not, don't worry about it, I'll just write the wrapper manually. I learned something. Maybe this technique just doesn't work on this particular module.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^3: Moose: Accessing subroutines in packages used by Moose class
by Corion (Patriarch) on Apr 18, 2016 at 07:16 UTC

    Without seeing your code and without knowing about what X11::GUITest expects as the parameters, I can't tell.