http://qs321.pair.com?node_id=1108543


in reply to need helpo regarding regular expression

Hi there

Could you please post minimal code that shows your problem and actually runs even when you include:

use strict; use warnings;

at the top of the source. It would also help to show the actual output that the short example code produces when you run it. And finally a brief description of what you expected the output to be instead.

You've apparently not tried to run the quoted code like that yourself because there are undefined variables included. You might be surprised to find that this code actually works once you clean it up enough to compile on its own and that the problem is somewhere else.