diff options
author | Robin Houston <robin@cpan.org> | 2005-12-21 11:00:08 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-21 16:16:19 +0000 |
commit | bc9b29dbf2ff006e91ae1d732887485497f58896 (patch) | |
tree | 4147ad5078d3b0f0201672a8a8876a5ace346c4e /pod | |
parent | 565a3db3dc85d0f63074b38e7019290e4f8f3766 (diff) | |
download | perl-bc9b29dbf2ff006e91ae1d732887485497f58896.tar.gz |
Feature bundle is now :5.10, and add -E switch
Message-ID: <20051221110008.GB25877@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26432
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlop.pod | 4 | ||||
-rw-r--r-- | pod/perlrun.pod | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index db105e32ae..c2fba59d65 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -838,7 +838,9 @@ Then again, you could always use parentheses. Binary "err" is equivalent to C<//>--it's just like binary "or", except it tests its left argument's definedness instead of its truth. There are two ways to remember "err": either because many functions return C<undef> on an B<err>or, -or as a sort of correction: C<$a=($b err 'default')> +or as a sort of correction: C<$a=($b err 'default')>. This keyword +is only available when the 'err' feature is enabled: see L<feature> +for more information. Binary "xor" returns the exclusive-OR of the two surrounding expressions. It cannot short circuit, of course. diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 06f90521e6..d49707479b 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -15,7 +15,7 @@ B<perl> S<[ B<-sTtuUWX> ]> S<[ B<-S> ]> S<[ B<-x>[I<dir>] ]> S<[ B<-i>[I<extension>] ]> - S<[ B<-e> I<'command'> ] [ B<--> ] [ I<programfile> ] [ I<argument> ]...> + S<[ B<-eE> I<'command'> ] [ B<--> ] [ I<programfile> ] [ I<argument> ]...> =head1 DESCRIPTION @@ -30,7 +30,7 @@ places: =item 1. -Specified line by line via B<-e> switches on the command line. +Specified line by line via B<-e> or B<-E> switches on the command line. =item 2. @@ -448,6 +448,12 @@ will not look for a filename in the argument list. Multiple B<-e> commands may be given to build up a multi-line script. Make sure to use semicolons where you would in a normal program. +=item B<-E> I<commandline> +X<-E> + +behaves just like B<-e>, except that it implicitly enables all +optional features (in the main compilation unit). See L<feature>. + =item B<-f> X<-f> |