develooper Front page | perl.perl5.porters | Postings from October 2001

RE: [PATCH perl@12696] C RTL awareness update for VMS

Thread Previous | Thread Next
Tom Edelson
October 29, 2001 19:48
RE: [PATCH perl@12696] C RTL awareness update for VMS
Message ID:
For Perl to pretty much do what the C RTL does may well be reasonable.  But not all aspiring Perl programmers have a background as C programmers, so it may not be sufficient to *tell* them that it does what the C RTL does.  Even if they were able and willing to access the C RTL documentation to get the details, they might be in no position to understand it.  

Which implies that Perl documentation "should" set out the details of what Perl does, without incorporating the C RTL doc by reference.  

Of course, this would be a lot of work, and so it falls into the "easy for me to say" category, especially since I'm in no position, right now, to volunteer to make it happen.  

If anybody cares, my own pre-Perl programming experience on VMS consists mostly of roughly equal parts SAS, COBOL, DEC Rally, and C ... and lots of DCL.  When I said that VMS people might expect signal handlers not to be persistent, I was actually thinking of the behavior of the ON command in DCL.  

-----Original Message-----
From: Craig A. Berry []
Sent: Monday, October 29, 2001 12:51 PM
To: Tom Edelson
Subject: RE: [PATCH perl@12696] C RTL awareness update for VMS

At 10:11 AM 10/29/2001 -0500, Tom Edelson wrote:
>I can readily believe that many folk would expect them [signals] to be 
>persistent.  On the other hand, those of us who were steeped in VMS long 
>before we came to Perl might expect the contrary.  
>The only conclusion I wish to draw is that whatever is chosen will go 
>against someone's expectations, and therefore, will need to be documented 
>quite explicitly.  


Perl pretty much does what the C RTL does, and the docs to %SIG clearly 
state that it uses sigaction() where available.  The C RTL docs have a 
section comparing UNIX signal handling with VMS exception handling which may 
be of interest to you:


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About