in reply to Substring comparisson problem

I would recommend 'Modern Perl', it can be found on the net for free in a variety of formats.