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

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

Thread Previous | Thread Next
From:
Tom Edelson
Date:
October 29, 2001 19:48
Subject:
RE: [PATCH perl@12696] C RTL awareness update for VMS
Message ID:
0632CC5F67853B4D96D542BAE8AD00826685D4@merc08.na.sas.com
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 [mailto:craigberry@mac.com]
Sent: Monday, October 29, 2001 12:51 PM
To: Tom Edelson
Cc: vmsperl@perl.org; perl5-porters@perl.org
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.  


Tom,

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:

<http://www.openvms.compaq.com/commercial/c/5763p011.htm#sig_handle_vms_ex_sec>

Thread Previous | Thread Next


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