Changed lines() to return an arrayref.  Added more docs from Wiley
Bugfix, lines() needs to always return an arrayref or undef