develooper Front page | perl.vmsperl | Postings from November 2010

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

Thread Previous
From:
Jeremy Begg
Date:
November 16, 2010 20:47
Subject:
Re: Problem with VMS Carriage return carriage control files in 5.10and 5.12
Message ID:
01NUD8QQBS0S8Y5AFT@barry.vsm.com.au
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

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About