That did work, daxim. I incorporated jdkrahn's criticisms as well. I'm doing more with bliako's scripts employing Getopt::Long but will reply to his meditation. Progress is slow: lots of reading. Sometimes getting the time for an appropriate write-up is the pinch-point. Thank Markov for the rain....

I did get a primitive, working module out of this thread, but as this thread is trailing off, I would like to focus on the last question I asked:

Q6: How would I determine which version of WWW::Google::Translate to require?

I have now gone in and read all I could find at module source. I wish I had done this initially, as I might have patterned my source off of dylan's. One thing I find is this:

Copyright (C) 2017 by Dylan Doxey This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.

Another is:

package WWW::Google::Translate; our $VERSION = '0.10';

If I had to guess, I might think that this is the only version that has existed, but such an assessment is not made from the point of view of experience. In Makefile.PL , should I just go:

PREREQ_PM => { WWW::Google::Translate => '.1', },

and be done with it? Thanks for your comment,


In reply to Re^4: chunking up texts correctly for online translation by Aldebaran
in thread chunking up texts correctly for online translation by Aldebaran

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.