in reply to Re^4: How to set $ENV{'DISPLAY'} variable programatically?
in thread How to set $ENV{'DISPLAY'} variable programatically?

Try  require EventRepository2;

Replies are listed 'Best First'.
Re^6: How to set $ENV{'DISPLAY'} variable programatically?
by nysus (Parson) on Apr 21, 2016 at 01:35 UTC

    Thanks. The program at least runs now but I'm getting a Too late to run INIT block at /usr/lib/x86_64-linux-gnu/perl5/5.2/X11/GUITest.pm So I'm guessing X11::GUITest isn't getting loaded now.

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