2011/6/8 Jeff King <peff@xxxxxxxx>: > You need to set $/ to undef. Use "local" to prevent it from polluting > other parts of the code, like: > > my $var = do { local $/; <$handle> }; > > -Peff > Worked as a charm. Thanks a lot. -- Jérémie Nikaes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html