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

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

Thread Next
Dan Jacobson
May 30, 2004 01:27
[perl #29970] perlrun should mention sh -eu = perl -??
Message ID:
# New Ticket Created by  Dan Jacobson 
# Please include the string:  [perl #29970]
# in the subject line of all future correspondence about this issue. 
# <URL: >

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.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About