Snippets has posted 5883 posts at DZone. View Full User Profile
Here is a quick way in Perl to read lines from a file regardless of whether it is Unix, Mac, or DOS.
my @lines = split(/\012\015?|\015\012?/,(join '',<FILE>));
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...