My test cases were:
  1. I've noted that if I just run reply without arguments and in its shell type "use mymodule" it just works fine.
  2. If I run any installed module (reply -M Data::Dumper) works fine
Maybe somehow my module/script is interfering with the logic of the reply... I'll comment out some lines and see if things change.

Here is header of my simple module:

#!/usr/bin/env perl package Wik; use v5.20.2; use strict; use warnings; use open qw/:std :utf8/; use utf8; use MediaWiki::Bot qw(:constants); use Data::Dumper; use YAML::Tiny; use Path::Tiny qw(path); use Getopt::Long; use HTTP::Date; use Pod::Usage; use URI::Escape; require Exporter; our $VERSION = 0.2; our @ISA = qw(Exporter); our @EXPORT = qw(login savepages updatepages);
Thank you @robby_dobby, I'll dig in my little code and try to see if I'm doing something wrong...

In reply to Re^6: Using Devel::REPL by guiwp
in thread Using Devel::REPL by guiwp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.