LPM: perldoc perlerrors

ken.rietz at asbury.edu ken.rietz at asbury.edu
Tue Aug 29 15:01:09 CDT 2000


> On Mon, 28 Aug 2000 ken.rietz at asbury.edu wrote:
> 
> > >  - how system() returns 0 on success.
> > 
> > This is supposed to change in Perl 6, so don't get too into it.
> 
> i say get into as much as you want. perl 6 is 2 years away from even
> pre-alpha release and even once perl 6 is out there, it will 
> be another 4
> years before the PHBs let their underlings upgrade. so go for 
> it, write
> copious documentation. if for no other reason than the 
> ability to one day
> look back on our perl 5 code and realize what we were thinking. :)

I disagree, friend. It strikes me as unreasonably stubborn to stay
with a procedure that you know will change, and in its change will
break your code.

How about a compromise? Create something like a header file that defines
$SYSTEM_CALL_SUCCESS = 0;
$SYSTEM_CALL_FAILURE = 1;
for now, and use only the symbolic values in the code. Then change the
header for Perl 6.

-- Ken




More information about the Lexington-pm mailing list