http://www.perlmonks.org?node_id=858141


in reply to Re^5: Writing data into columns
in thread Writing data into columns

The question is how do I use regular expressions to match particular prefixes and put them in the same column, eg "3850_1_2_" is a prefix. for say 3850_1_2_xxxx.

Replies are listed 'Best First'.
Re^7: Writing data into columns
by JavaFan (Canon) on Aug 31, 2010 at 10:56 UTC
    Bucketize them, and sort the buckets.
      Dear JavaFan, thanks a lot!!! You are the greatest!!!!! you are the best!
      Hi JavaFan, I have had to come back to this bit of code. I do I bucketize. I am stuck. $new_guy

        ...I do I bucketize....

        Prove it. Ask the question effectively :)

        Sorry, I meant "how do I bucketize it?". Please provide suggestions? I am completely stuck at this!