Oct 30, 2011, 10:39 AM
Post #6 of 8
Thanks for suggesting Data Dumper. I have used it now and see that it would have shown me the problem quicker, in addition to that it's a useful tool for the future.
Re: [FishMonger] Why am I having trouble using a variable in my regex
[In reply to]
Something inside me says, geez, do I have to use another module, surely this is simple enough not to complicate, but that's my brain not quite working correctly.
I just used one of the subs, trim(). Is there a method for perl that does this? I couldn't see one. or perhaps a better way?
looking at the dumper output there was some whitespace at the end plus a /n.