develooper Front page | perl.perl5.porters | Postings from March 2003

[PATCH] long %ENV values for VMS

Thread Next
From:
Craig A. Berry
Date:
March 7, 2003 11:50
Subject:
[PATCH] long %ENV values for VMS
Message ID:
3E68F7DE.8070603@mac.com
The attached patch to vms/vms.c against bleadperl increases the length
limit on values (not keys) in the %ENV hash from 255 bytes to 32640
bytes. It does this by using search list logical names and storing the
value in pieces, each 255-byte piece (up to 128 of them) being an
element in the search list. When doing a lookup in %ENV, the elements
are combined into a single value. The existing VMS-specific ability to
access individual elements of a search list logical name via the
ENV{'foo;N'} syntax (where N is the search list index) is unimpaired.

The patch is courtesy of Scott Lepage from hp's OpenVMS Engineering
Group. Minor tweaking and reformulation against bleadperl by yours truly.



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