On Mon, Dec 12, 2005 at 11:14:32AM -0800, Chip Salzenberg wrote: : I still think heredocs were a botch for : Perl, which is generally not line-oriented.
Hmm, well, the point is not so much whether Perl is line-oriented, but whether the *data* is line-oriented. The orientation of Perl is to go the extra mile to accomodate the data in whatever form is convenient to the user. See also Vicarious Suffering. That's not to say that Perl 5's heredocs can't be improved, of course... Larry