Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
That will be slower though.
The reason I suggested it is in case someone wanted to use your SuperSplit with tied filehandles. I would not depend on a tied filehandle correctly paying attention to $/, so the join makes sense. But if you care about performance or have good reason to believe that people won't use tied filehandles, then avoid join. In reply to Re (tilly) 4: Slurp a file
by tilly
|
|