Re: Problem with VMS Carriage return carriage control files in 5.10 and 5.12

[email protected] (Jeremy Begg) Wed, 17 Nov 2010 15:15:50 +1030 (CST)
Newsgroups perl.vmsperl
Organization VSM Software Services Pty Ltd. A.C.N. 068 409 156
Message-ID <[email protected]>
Hi Craig,

>Is it possible using the CRTL?  I'm not sure it's reasonable to expect
>Perl to do better than C can do.  Here's what seems to me like the
>relevant section from the CRTL manual:

No, it's not reasonable to expect Perl to do better than CRTL.  I hadn't
consulted the CRTL manual before making my comments.

>> When I'm writing programs I assume that each 'print' statement will
>> result
>> in one output record.  I susppose you could arrange for each 'print'
>> to be
>> followed by a flush to disk at that point, but of course performance
>> would
>> probably suffer.
>
>What about printing a list?  Should each list item produce a new
>record, or should all elements be coalesced into a single (potentially
>humongous) write because they all came from one print statement?  I'm
>not sure a print statement that can function as a list operator maps
>very well onto your assumption; Perl ain't Fortran.

Fair enough!

	Jeremy