You didn't show that you had made any effort to read perlre, which is why I assumed you hadn't read it at all. If you had read it and found it problematic, why didn't you ask specific questions about it?
Also, none of your problems actually need regular expressions. If you found regular expressions an impenetrable topic, other approaches like index would have proved a secondary avenue. But you didn't pursue these either, or at least didn't tell us about it. Why didn't you consider telling us what approaches outside of regular expressions came to mind and why you discarded them?
I'm not sure what else to make of your query other than to find lazyness, because either you didn't bother to tell us what you already tried, or you didn't try anything and didn't phrase your query for directions in a way that told us where you'd been and where to you wanted.
I'm not certain what kind of "open discussion" you want to hold, but if the goal is about furthering your knowledge of Perl, there is a certain amount of interaction that will be necessary, especially with you being forthcoming about the approaches you've tried already. If it is about solving your problems, them being yours makes it your onus to present them in a way that entices us to solve them for you. Alternatively, you have to solve them yourself, which, considering your lackadaisical presentation, is more likely to be the outcome.
|