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 want a simple to use API that simply returns a
string from a logical name.
My code creates and deletes logical names and reads logical names. I
will be adding support for tables.
The hash that's returned by the routines contains a lot of information.
I was thinking of blessing the hash so that some perl routines could
condense the information and make it a little more usable. Any
suggestions would be appreciated.
While the hash would have its uses, I would think that in most cases the
programmer will just need the value of the logical name.
Another useful method might be would be one that returned true or false
based on DCL's rules for interpreting a true or false value.
And when perl is running in tainted mode, it may be useful to have any
logical names that are not in executive or kernel mode to be be tainted.
I am not sure how to to do that tainting.
This module would be very useful for the tests to have to be able to
restore the logical name envirnoment after a test is done.
Several tests leave behind or mess up the SYS$LOGIN, HOME, TERM, and a
few other logical names.
-John
[EMAIL PROTECTED]
Personal Opinion Only