develooper Front page | perl.perl5.porters | Postings from January 2009

[PATCH] show -E in error message when called with -E

Thread Next
From:
=?ISO-8859-1?Q?Ren=E9e_B=E4cker?=
Date:
January 12, 2009 02:39
Subject:
[PATCH] show -E in error message when called with -E
Message ID:
496B1DCF.5020806@smart-websolutions.de
Currently, perl shows -e if an error occurs even it is called with -E.
The attached patch changes this...

Current behaviour:
D:\Perl510\bin>perl.exe -E "say ->"
syntax error at -e line 1, at EOF
Execution of -e aborted due to compilation errors.

With patch:
D:\Perl510\bin>perl.exe -E "say ->"
syntax error at -E line 1, at EOF
Execution of -E aborted due to compilation errors.

Cheers,
Renee

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