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

2010-11-16 Thread Jeremy Begg
Hi Craig, I saw this a week or so ago but didn't have time to respond earlier ... I hope this message is still useful. This is right after the perlio layer has called down to the unixio layer to get the file open. We have an fd, so we can do an fstat() on that and retrieve the record format

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

2010-11-16 Thread Craig A. Berry
On Nov 16, 2010, at 5:02 PM, Jeremy Begg wrote: Thanks for the feedback, Jeremy. I'm assuming that if the record format is FAB$C_VAR or FAB$C_VFC, the records will never contain binary data with embedded newlines. Is that true? What other assumptions am I making that I shouldn't? The

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

2010-11-16 Thread Jeremy Begg
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

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

2010-11-04 Thread Craig A. Berry
On Apr 21, 2010, at 5:29 PM, martin.zin...@deutsche-boerse.com wrote: If you open a text file with Carriage return carriage control for output (based off an existing file) and populate the new file with longer records, at some point gratuitous line breaks are added to the file. Finally

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

2010-04-23 Thread Craig A. Berry
On Apr 22, 2010, at 2:39 PM, martin.zin...@deutsche-boerse.com wrote: Unfortunatly the suggested solution I really would like to implement (since it requires not code/setup changes) does give me a headache. Setting stdio as the standard during using configure.com does cause the compilation

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

2010-04-22 Thread Mudiaga Obada
Hi, we are currently testing perl 5.10.1 in our development environment. We also ran into some issues which i did some initial analysis on. Unfortunately, i am not directly involved in testing 5.10.1 and didn't find time to get as far as collecting exact details in an isolated test case yet.

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

2010-04-22 Thread Craig A. Berry
On Apr 22, 2010, at 2:39 PM, martin.zin...@deutsche-boerse.com wrote: First of all thanks a lot for your insightfull comments. A couple of the suggestions do restore the previous behaviour, in particular * define PERLIO stdio * use open OUT = ':stdio'; * open(TXT, ':stdio', 'test.lis');

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

2010-04-21 Thread Martin . Zinser
Hello, sorry, looks like the list processor strips the attachment. The canned example is at http://zinser.no-ip.info/www/trans/rms51x.zip Greetings, Martin martin.zin...@deutsche-boerse.com 22.04.2010 00:29 To vmsperl@perl.org cc Subject Problem with VMS Carriage return carriage control

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

2010-04-21 Thread John E. Malmberg
martin.zin...@deutsche-boerse.com wrote: Hello Colleagues, I am currently trying to drag our development team kicking and screaming into the century of the fruitbat, but what looks like a bug in 5.10.1 and 5.12.0 is a stumbling block. Problem description: If you open a text file with

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

2010-04-21 Thread Craig A. Berry
On Apr 21, 2010, at 8:04 PM, John E. Malmberg wrote: martin.zin...@deutsche-boerse.com wrote: Hello Colleagues, I am currently trying to drag our development team kicking and screaming into the century of the fruitbat, but what looks like a bug in 5.10.1 and 5.12.0 is a stumbling block.

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

2010-04-21 Thread Carl Friedberg
Martin, Craig John, About 7 weeks ago, I put 5.10.1 into production. It looked good until the overnight production ran, and then all hell broke loose. I did not have time to poke around, but the symptom was that completely trivial perl scripts failed, with extra line breaks being thrown into