Dear cavac,

while I want to thank you warmly for your work and not wanting to profit too much of your brain-time.. what about to give chatterbot the power of perl?

!eval say $^V Discipulus: v5.39.4

gods permitting this will be a nice feature to have. I've seen implemented in the #perl irc channel on MAGnet. There if you ask to perlbot about its source it shows further links to explore:

perlbot: source Discipulus: check out my insides http://github.com/perlbot/perlbuut/ | + ... If you're after an eval server look at App::EvalServer and App::EvalS +erverAdvanced on CPAN, also check out nsjail for a more generic sandb +ox https://github.com/google/nsjail | Also check out the rest of the + perlbot projects at https://github.com/perlbot/

The perlbot plugins commands shows a lot of plugins and among them the eval one and shows also useful variations:

perlbot help eval Discipulus: The eval plugin. Syntax, Ģeval: codeģ. Prefixes: w=>warnin +gs, s=>strict, m=>use Ojo. Suffixes: t=>threaded, pb=>pastebin it, nl +=>turn \n to ␤.

I find the pastebin ability extremely useful.

L*

PS rethinking of it instead of pastebin can be integrated with haukex's wonderful webperl project. Everything inhouse :)

As you can see it accepts json inputs as well.

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

In reply to Re: New last hours of cb, CB stats - feature request by Discipulus
in thread New last hours of cb, CB stats by cavac

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.