in reply to help requested with collating data from two files
I think kennethk is probably right about what may be causing your issue.
However, I'd like to offer a tip on debugging. The Data::Dumper module is a very handy tool in debugging. If you encounter a problem with regular expression's with variables not matching as you want, try using Data::Dumper (or a simple print) just before the regex to find out for sure what is being stored in the variable(s). If the variable(s) don't have what you think they should, then you know where to begin to look for the source of the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help requested with collating data from two files
by planetscape (Chancellor) on Sep 14, 2010 at 03:29 UTC |