Thanks for taking the time with that reply bart. Problem is (which I hate) the "|-" syntax isn't supported on Win32 systems. A real pain in the ar$3. I'm not sure how a similar structure/syntax is achieved in Win32. Anyone?
Coroutines sounds VERY interesting and I'd be interested in reading more into that, although at present it sounds like its still in the experimental stage (is that true?) and I'd rather stick with a solution that is (eh hem..) "standard" perl.
Piping is probable although implementation into a module isn't so easy to achieve. Infact, based on the responses in this discussion nah it be too difficult or impossible. Hence your solution shows me an example of piping, which I can do, but not how to implement this into my problem. In this case the context of the problem puts a spin on the ability of piping out of its normal context, hence my post to the group. In general the whole piping solution to me doesn't seem "intuitively simple" if you get my meaning.
Thanks also for all the links at the bottom. I'm interested to have a look through some of the code examples suggested. So thanks. ++
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.