Hi
(1) I have used the search terms "perl how-to read memory buffer" and "perl how-to read memory buffer -file".Can you be a bit more explicit with your use case ? what exactly you are trying to achieve by copying the content to your buffer by Ctrl-C, Ctrl-V.
(2)I would prefer to create a small rudimentary X11 input form. Is that possible with perl?
I'm only making a suggestion. Try
X11::XCB. You should check on
metacpan for your need
(3)...I those cases, I copy the title of the page and begin to laboriously transform the title as I have shown.
Try
HTML::LinkExtractor..Again what exactly is your requirement ? Is it to simplify the transformation of the page/title into the format mentioned ?
There are n number of string manipulation functions available like
join,
pack and an exhaustive list in
perlfunc.
I think you need to first come up with a basic
flow diagram design OR pseudo code(better) to convey your understanding, and update/rewrite your post with the same, you would get better answers, else you will be constantly iterating and revising your perl code.
The Great Programmer is one who inspires others to code, not just one who writes great code
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.