X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlrun.pod;h=5cc1969c6021fe67220c37979dde56acf4be078f;hb=35f2feb095c3dd2b77eb6efc2bf725b5886b6931;hp=8aa06fb2bfba02c06991c64e801d14a23ddf03f3;hpb=1761cee512762c09b2a848d3c6cbd5a3b4232ffa;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 8aa06fb..5cc1969 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -130,13 +130,12 @@ distribution for more information). =item Win95/NT -The Win95/NT installation, when using the Activeware port of Perl, +The Win95/NT installation, when using the ActiveState installer for Perl, will modify the Registry to associate the F<.pl> extension with the perl -interpreter. If you install another port of Perl, including the one -in the Win32 directory of the Perl distribution, then you'll have to -modify the Registry yourself. Note that this means you can no -longer tell the difference between an executable Perl program -and a Perl library file. +interpreter. If you install Perl by other means (including building from +the sources), you may have to modify the Registry yourself. Note that +this means you can no longer tell the difference between an executable +Perl program and a Perl library file. =item Macintosh @@ -576,10 +575,11 @@ enables rudimentary switch parsing for switches on the command line after the program name but before any filename arguments (or before a B<-->). Any switch found there is removed from @ARGV and sets the corresponding variable in the Perl program. The following program -prints "true" if and only if the program is invoked with a B<-xyz> switch. +prints "1" if the program is invoked with a B<-xyz> switch, and "abc" +if it is invoked with B<-xyz=abc>. #!/usr/bin/perl -s - if ($xyz) { print "true\n" } + if ($xyz) { print "$xyz\n" } =item B<-S> @@ -706,12 +706,12 @@ that. =item B<-W> -Enables all warnings regardless of +Enables all warnings regardless of C or C<$^W>. See L. =item B<-X> -Disables all warnings regardless of +Disables all warnings regardless of C or C<$^W>. See L. =item B<-x> I