in reply to Re^5: Regex infinite loop?
in thread Regex infinite loop?

Wow! I was thinking this might be the way I would (ultimately) have to go. I was reading about TreeBuilder in "Perl & LWP" on the train this morning. I am a PERL novice -- this will be a great learning tool for me! Thank you very much.

Replies are listed 'Best First'.
Re^7: Regex infinite loop?
by CountZero (Bishop) on Oct 18, 2008 at 21:21 UTC
    The first step in growing from a novice to an earnest student of Perl is never ever write "PERL". The language is called Perl and the implementation is perl, but "PERL" makes you stand out as someone who knows nothing about it and from your code it is clear you are well past that point.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James