I'm currently in the process of learning the ins and outs of regexes and for a learning curve, decided to use a code sub-pattern instead of the generic if-else construct with processing the given output. In this process, i encountered the error "panic: top_env" and compiled a quick report.
I had trouble with the formatting on Perl Monks, and have created a quick pastebin with all the information i thought was relevant ( http://pastebin.com/m7debc55d ).
Any information and advice on this problem will be very much appreciated, thanks monks!