First of all, thanks for posting your code. It's good to see you're trying (and trying to learn). And good on you for use-ing strict and warnings.

So, I'm back asking your help.

Not a problem - "everyone is a newbie at something".

I hope I don't make too many mistakes posting this.

I guess you're referring to Re: Perl starter with big problem.. Don't take that personally; it's a criticism of your post title, not you as a person. Do take the criticism on board (i.e. learn from it) - parv had a good reason for saying it: namely, the Monastery is full of very skilled people with many demands on their time. If you make a post, the only way they can judge whether the post aligns with their interest and expertise is by the title. A vague title gives them nothing to go on - every other post in Seekers of Perl Wisdom is by a "Perl starter with a big problem". A better title would have been How can I replace TAB chars with '/'.

(Another reason for not using vague titles is that it makes it hard for others to search the Monastery for solutions to the same problem you were having.)

It's still hard to figure out exactly what you're after. Can you please post (some of) the contents of the file 'Output' after the script runs, and tell us what's wrong with it?

Also, a few random points about your code:

HTH,
mtp


Indicators of geekdom:
  • You get a kick out of finishing sentences with domain names, because of the syntactic overlap of certain written languages and DNS notation.
  • You understood the previous sentence.

In reply to Re: Regex matching by missingthepoint
in thread Regex matching by b_vulnerability

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.