Re: VMS::Logical - RFC

2008-03-27 Thread Thomas Pfau
I'm a lot more comfortable with this interface. Thanks for the suggestions. To Do: Add code to accept permissions when creating a table. Fill in some missing documentation. Maybe add a simple translation routine that accepts a logical name and returns strings. Any other ideas? Ok, here's the new

Re: VMS::Logical - RFC

2008-03-27 Thread Thomas Pfau
Craig A. Berry wrote: > At 8:19 PM -0700 3/26/08, Hein, Nashua NH wrote: > >> On Mar 26, 9:51 pm, [EMAIL PROTECTED] (Thomas Pfau) wrote: >> >>> I could use some advice on how to handle error returns. >>> > > Thanks for making the effort to thrash out the interface in public. > > >

Re: VMS::Logical - RFC

2008-03-26 Thread Craig A. Berry
At 8:19 PM -0700 3/26/08, Hein, Nashua NH wrote: >On Mar 26, 9:51 pm, [EMAIL PROTECTED] (Thomas Pfau) wrote: > > I could use some advice on how to handle error returns. Thanks for making the effort to thrash out the interface in public. > > The translate routine wants to return a hash reference c

Re: VMS::Logical - RFC

2008-03-26 Thread Hein, Nashua NH
On Mar 26, 9:51 pm, [EMAIL PROTECTED] (Thomas Pfau) wrote: > I could use some advice on how to handle error returns. > > The translate routine wants to return a hash reference containing > information about the logical.  If the logical isn't defined or some > other error returns, I'm setting it up

Re: VMS::Logical - RFC

2008-03-26 Thread Thomas Pfau
I could use some advice on how to handle error returns. The translate routine wants to return a hash reference containing information about the logical. If the logical isn't defined or some other error returns, I'm setting it up to return a scalar containing the status code. Does this sound usab

Re: VMS::Logical

2008-03-26 Thread John E. Malmberg
Thomas Pfau wrote: John E. Malmberg wrote: We do need a logical name module, as part of the VMS PERL distribution that can do: 1. Create / Delete logical names. 2. Create / Delete logical name tables. 3. Read logical names. Basically the all the logical name system services. We would probably

Re: VMS::Logical

2008-03-26 Thread Thomas Pfau
Craig A. Berry wrote: > This looks very interesting and I hope to take it for a spin soon. I > have Forrest Cahoon's version but I don't think it was complete or > formally released or ever made it to CPAN. I suggest putting yours on > CPAN since it's been something like six years and the other on

Re: VMS::Logical

2008-03-26 Thread Thomas Pfau
John E. Malmberg wrote: > We do need a logical name module, as part of the VMS PERL distribution > that can do: > > 1. Create / Delete logical names. > 2. Create / Delete logical name tables. > 3. Read logical names. > > Basically the all the logical name system services. > > We would probably want

Re: VMS::Logical

2008-03-25 Thread Craig A. Berry
At 7:35 PM -0400 3/25/08, Thomas Pfau wrote: >Here's a little something I've been working on. The interface probably >needs some work but the code appears to work. You can use Data::Dumper >to get a quick feel for what it returns. Grab it from >http://nbpfaus.net/~pfau/perl/vms-logical-0_1.tar-g

RE: VMS::Logical

2008-03-25 Thread Carl Friedberg
7;m out of town right now, will try to look for it this weekend. Carl -Original Message- From: John E. Malmberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 10:55 PM To: Thomas Pfau Cc: vmsperl Subject: Re: VMS::Logical Thomas Pfau wrote: > Here's a little something I&#

Re: VMS::Logical

2008-03-25 Thread John E. Malmberg
Thomas Pfau wrote: Here's a little something I've been working on. The interface probably needs some work but the code appears to work. You can use Data::Dumper to get a quick feel for what it returns. Grab it from http://nbpfaus.net/~pfau/perl/vms-logical-0_1.tar-gz. It looks like someone tr

Re: VMS::Logical module available - the correct URL

2002-06-03 Thread PPrymmer
Forrest Cahoon wrote: > That should be http://vmsbox.cjb.net/~fcahoon/. One thing that I have noted seems related to this bit of the documentation for sys$crelnm's acmode argument: If you omit this argument or specify it as 0, the access mode of the caller is associated with the logical na

Re: VMS::Logical module available - the correct URL

2002-06-03 Thread PPrymmer
Forrest wrote: !> You can find it at http://vmsbox.cjb.net/~forrest/. ! !That should be http://vmsbox.cjb.net/~fcahoon/. Thanks for the module it looks great. Here are results against perl 5.005_02 && DEC C 6.0: $ mms test perl "-I[.blib.arch]" "-I[.blib.lib]" "-Iperl_root:[vms_axp_5_00502]"

Re: VMS::Logical module available - the correct URL

2002-06-03 Thread Craig A. Berry
At 10:30 AM -0500 6/1/02, Forrest Cahoon wrote: > > You can find it at http://vmsbox.cjb.net/~forrest/. > >That should be http://vmsbox.cjb.net/~fcahoon/. Looks great, Forrest; we've really needed this. I'll try to take it for a spin sometime soon. Please consider putting it up on CPAN. -- ___