At 7:20 PM -0500 2/5/04, Charles Bailey wrote:

>I don't have access to a VMS box any longer (sigh)

Hardware, software, and non-commercial licenses are not obstacles if
you want to change that.  Time to tinker can be much harder to come
by.  A less than exhaustive list of options in increasing order of
hassle:

1.) Accounts on net-accessible systems.  Go to
<telnet://eisner.encompasserve.org> and login as REGISTRATION.  Or
sign up for an account at <http://testdrive.hp.com>.

2.) Get a VAX emulator and run it on whatever you've got on your
desktop.  See <http://simh.trailing-edge.com/> and
<http://www.wherry.com/gadgets/retrocomputing/vax-simh.html>.  You'll
need hobbyist licenses and media from <http://www.montagar.com>.  The
media are $30; the licenses are free if you have a free associate
membership in Encompass <http://www.encompass.org>.

3.)  From time to time there are quite a few reasonably priced vaxen
and alphas on eBay.

> but IIRC the VMS glob expansion code was version-aware: if you passed a version on 
> the input filespec, it would return it on the output spec, and it accepted version 
> wildcards.  If it hasn't been overwritten by the File::Glob evangelists, that's the 
> entrez from Perl.

We seem to have kept the evangelists at bay; from the current bleadperl:

$ perl -e "@a = glob('sys$login:login.com;*'); for (@a) {print qq/$_\n/};"
d0:[craig]login.com;3
d0:[craig]login.com;2
d0:[craig]login.com;1

> There was really no way via Perl's readdir() interface to pass this information, and 
> we never quite got 'round to
>adding a switch to VMS::Stdio.

>Just as food for thought, how about one of:
>
>   - VMS::Stdio::opendir which takes an extra param

I like that better than having a separate call to set the
characteristics of a dir handle that's already open.

>   - C<use vmsish 'readdir'> which sets the wantversions default to 1

That could work.  You lose the ability to have different behavior for
different directory handles in the same scope, but you gain the
ability to set it and forget it for a particular scope.

>Glad to see the list is still alive!

And the list feels the same way about you :-).  According to
perlhist, we must be somewhere near the 10-year anniversary of when
you first ported Perl to VMS.  Happy Anniversary.


-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to