Not sure if this will help, but surely one can replace 

use vmsish 'status';

with

BEGIN {
  if ($^O eq 'VMS') {
    require vmsish;
    import  vmsish 'status';
  }
}

and thus conditionally use it?

-- 
Sebastian Bazley <[EMAIL PROTECTED]>
The opinions expressed herein are my own, and are not necessarily endorsed
by my employer ...

-----Original Message-----
From: Craig A. Berry [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 19:12
To: Michael G Schwern
Cc: [EMAIL PROTECTED]
Subject: Re: Test::Simple and exit codes on VMS


[snip]

This behavior can be overridden by the "use vmsish 'status'" pragma but 
that's not available on other platforms and can't be conditionalized because

it does its thing at compile time.

[snip]


___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the SchlumbergerSema Helpdesk 
by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________

Reply via email to