I deploy a large perl application on Solaris, and I need more than 255 simultaneously open file handles for some configurations. Not wanting to build a 64-bit perl (32-bit Oracle DBD installed usually), I've historically got around this by exporting
PERLIO=perlio in my shell before starting the any processes. Recently, I've run into a
more interesting occurence of needing this. Anyway my question is, why can't I set this in %ENV, in a BEGIN block or otherwise? Is this something that the vm needs to see during bootstrap, or is there a way to set this at runtime? Ideally, I'd like to
use PerlIO 'perlio', but that appears to work only for new layers. Any ideas/docs/pointers would be appreciated..
Regards,
Ezra