in reply to Perl subsititution oddities...

Thanks for your comments.

I had read the perldoc -f split prior to the posting, but my slow brain didn't understand the implications of the split(/pattern/,$line,-1)

Mystery solved.

-smelly