develooper Front page | perl.perl5.porters | Postings from May 2004

[perl #29970] perlrun should mention sh -eu = perl -??

Thread Next
From:
Dan Jacobson
Date:
May 30, 2004 01:27
Subject:
[perl #29970] perlrun should mention sh -eu = perl -??
Message ID:
rt-3.0.9-29970-89430.0.734332498383168@perl.org
# New Ticket Created by  Dan Jacobson 
# Please include the string:  [perl #29970]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29970 >


Please say right there on the perlrun man page, the perl equivalents
to sh -u and sh -e, as these are such basic needs, so Bourne or
whoever, made them command line switches. Also say sh -x's equivalent too.
Hopefully the answers will look short like "sh -e" etc. themselves.

P.S. "all" is not "all" enough to give a non-zero $? in this case:
$ perl -mwarnings=all,FATAL -pe 'print $t' /dev/null;echo $?
Name "main::t" used only once: possible typo at -e line 1.
0


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