diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-05-10 12:03:25 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-05-10 12:26:23 +0100 |
commit | a2c3b2fe18baf254f225947385321b029600253e (patch) | |
tree | b3eea246c848d251ccbf33750d5628a52805e0e2 | |
parent | add9356cb1c4fd5ffb8f067679f4bbabdea51e14 (diff) | |
download | perl-a2c3b2fe18baf254f225947385321b029600253e.tar.gz |
Update perlfaq to CPAN version 5.021011
[DELTA]
5.021011 20162016-03-04 20:04:08Z
* update info on Perl 6
* fix LICENSE address and update prereq for its content
* excluded README.pod from the shipped tarball distribution
-rwxr-xr-x | Porting/Maintainers.pl | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq.pm | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq1.pod | 26 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq2.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq3.pod | 8 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq4.pod | 31 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq5.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq6.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq7.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq8.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq9.pod | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlglossary.pod | 2 |
13 files changed, 42 insertions, 43 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index e2fae0c76f..11719ce951 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -911,7 +911,7 @@ use File::Glob qw(:case); }, 'perlfaq' => { - 'DISTRIBUTION' => 'LLAP/perlfaq-5.021010.tar.gz', + 'DISTRIBUTION' => 'LLAP/perlfaq-5.021011.tar.gz', 'FILES' => q[cpan/perlfaq], 'EXCLUDED' => [ qw( inc/CreateQuestionList.pm diff --git a/cpan/perlfaq/lib/perlfaq.pm b/cpan/perlfaq/lib/perlfaq.pm index 0be9c18d34..823817c35b 100644 --- a/cpan/perlfaq/lib/perlfaq.pm +++ b/cpan/perlfaq/lib/perlfaq.pm @@ -1,5 +1,5 @@ use strict; use warnings; package perlfaq; -$perlfaq::VERSION = '5.021010'; +$perlfaq::VERSION = '5.021011'; 1; diff --git a/cpan/perlfaq/lib/perlfaq.pod b/cpan/perlfaq/lib/perlfaq.pod index 5be2f6d408..1b8db788f4 100644 --- a/cpan/perlfaq/lib/perlfaq.pod +++ b/cpan/perlfaq/lib/perlfaq.pod @@ -4,7 +4,7 @@ perlfaq - frequently asked questions about Perl =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq1.pod b/cpan/perlfaq/lib/perlfaq1.pod index c2c793efa7..b6d4c8e61b 100644 --- a/cpan/perlfaq/lib/perlfaq1.pod +++ b/cpan/perlfaq/lib/perlfaq1.pod @@ -4,7 +4,7 @@ perlfaq1 - General Questions About Perl =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION @@ -109,12 +109,6 @@ as its whitewashed bones have fractured or eroded. =item * -The current leading implementation of Perl 6, Rakudo, released a "useful, -usable, 'early adopter'" distribution of Perl 6 (called Rakudo Star) in July of -2010. Please see L<http://rakudo.org/> for more information. - -=item * - There are really two tracks of perl development: a maintenance version and an experimental version. The maintenance versions are stable, and have an even number as the minor release (i.e. perl5.18.x, where 18 is the @@ -148,21 +142,21 @@ See L<perlhist> for a history of Perl revisions. =head2 What is Perl 6? -Perl 6 was I<originally> described as the community's rewrite of Perl 5. -Development started in 2002; syntax and design work continue to this day. -As the language has evolved, it has become clear that it is a separate -language, incompatible with Perl 5 but in the same language family. +Perl 6 was I<originally> described as the community's rewrite of Perl 5, +however as the language evolved, it became clear that it is a separate +language, but in the same language family as Perl 5. + +Perl 6 is not intended primarily as a replacement for Perl 5, but as its +own thing - and libraries exist to allow you to call Perl 5 code from Perl +6 programs and vice versa. Contrary to popular belief, Perl 6 and Perl 5 peacefully coexist with one another. Perl 6 has proven to be a fascinating source of ideas for those using Perl 5 (the L<Moose> object system is a well-known example). There is overlap in the communities, and this overlap fosters the tradition of sharing -and borrowing that have been instrumental to Perl's success. The current -leading implementation of Perl 6 is Rakudo, and you can learn more about -it at L<http://rakudo.org>. +and borrowing that have been instrumental to Perl's success. -If you want to learn more about Perl 6, or have a desire to help in -the crusade to make Perl a better place then read the Perl 6 developers +If you want to learn more about Perl 6 read the Perl 6 developers page at L<http://www.perl6.org/> and get involved. "We're really serious about reinventing everything that needs reinventing." diff --git a/cpan/perlfaq/lib/perlfaq2.pod b/cpan/perlfaq/lib/perlfaq2.pod index 4c652dbfa0..a235c8b5e7 100644 --- a/cpan/perlfaq/lib/perlfaq2.pod +++ b/cpan/perlfaq/lib/perlfaq2.pod @@ -4,7 +4,7 @@ perlfaq2 - Obtaining and Learning about Perl =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq3.pod b/cpan/perlfaq/lib/perlfaq3.pod index 78a2bab024..dcab664d45 100644 --- a/cpan/perlfaq/lib/perlfaq3.pod +++ b/cpan/perlfaq/lib/perlfaq3.pod @@ -4,7 +4,7 @@ perlfaq3 - Programming Tools =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION @@ -370,6 +370,12 @@ Perl Editor by EngInSite is a complete integrated development environment (IDE) for creating, testing, and debugging Perl scripts; the tool runs on Windows 9x/NT/2000/XP or later. +=item IntelliJ IDEA + +L<https://plugins.jetbrains.com/plugin/7796> + +Camelcade plugin provides Perl5 support in IntelliJ IDEA and other JetBrains IDEs. + =item Kephra L<http://kephra.sf.net> diff --git a/cpan/perlfaq/lib/perlfaq4.pod b/cpan/perlfaq/lib/perlfaq4.pod index f6bf2caaf9..304729ceb8 100644 --- a/cpan/perlfaq/lib/perlfaq4.pod +++ b/cpan/perlfaq/lib/perlfaq4.pod @@ -4,7 +4,7 @@ perlfaq4 - Data Manipulation =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION @@ -2556,24 +2556,23 @@ some gotchas. See the section on Regular Expressions. =head2 How do I determine whether a scalar is a number/whole/integer/float? Assuming that you don't care about IEEE notations like "NaN" or -"Infinity", you probably just want to use a regular expression: +"Infinity", you probably just want to use a regular expression (see also +L<perlretut> and L<perlre>): use 5.010; - given( $number ) { - when( /\D/ ) - { say "\thas nondigits"; continue } - when( /^\d+\z/ ) - { say "\tis a whole number"; continue } - when( /^-?\d+\z/ ) - { say "\tis an integer"; continue } - when( /^[+-]?\d+\z/ ) - { say "\tis a +/- integer"; continue } - when( /^-?(?:\d+\.?|\.\d)\d*\z/ ) - { say "\tis a real number"; continue } - when( /^[+-]?(?=\.?\d)\d*\.?\d*(?:e[+-]?\d+)?\z/i) - { say "\tis a C float" } - } + if ( /\D/ ) + { say "\thas nondigits"; } + if ( /^\d+\z/ ) + { say "\tis a whole number"; } + if ( /^-?\d+\z/ ) + { say "\tis an integer"; } + if ( /^[+-]?\d+\z/ ) + { say "\tis a +/- integer"; } + if ( /^-?(?:\d+\.?|\.\d)\d*\z/ ) + { say "\tis a real number"; } + if ( /^[+-]?(?=\.?\d)\d*\.?\d*(?:e[+-]?\d+)?\z/i ) + { say "\tis a C float" } There are also some commonly used modules for the task. L<Scalar::Util> (distributed with 5.8) provides access to perl's diff --git a/cpan/perlfaq/lib/perlfaq5.pod b/cpan/perlfaq/lib/perlfaq5.pod index cbb73c74f5..22e88b8dd9 100644 --- a/cpan/perlfaq/lib/perlfaq5.pod +++ b/cpan/perlfaq/lib/perlfaq5.pod @@ -4,7 +4,7 @@ perlfaq5 - Files and Formats =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq6.pod b/cpan/perlfaq/lib/perlfaq6.pod index c889ca4e82..0db550e34a 100644 --- a/cpan/perlfaq/lib/perlfaq6.pod +++ b/cpan/perlfaq/lib/perlfaq6.pod @@ -4,7 +4,7 @@ perlfaq6 - Regular Expressions =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq7.pod b/cpan/perlfaq/lib/perlfaq7.pod index fb677365ce..4d568a3a8b 100644 --- a/cpan/perlfaq/lib/perlfaq7.pod +++ b/cpan/perlfaq/lib/perlfaq7.pod @@ -4,7 +4,7 @@ perlfaq7 - General Perl Language Issues =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq8.pod b/cpan/perlfaq/lib/perlfaq8.pod index 3bbd45998f..3431417163 100644 --- a/cpan/perlfaq/lib/perlfaq8.pod +++ b/cpan/perlfaq/lib/perlfaq8.pod @@ -4,7 +4,7 @@ perlfaq8 - System Interaction =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlfaq9.pod b/cpan/perlfaq/lib/perlfaq9.pod index bc687467c3..7fca820a24 100644 --- a/cpan/perlfaq/lib/perlfaq9.pod +++ b/cpan/perlfaq/lib/perlfaq9.pod @@ -4,7 +4,7 @@ perlfaq9 - Web, Email and Networking =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION diff --git a/cpan/perlfaq/lib/perlglossary.pod b/cpan/perlfaq/lib/perlglossary.pod index 76a54f0e54..3392d9dcdd 100644 --- a/cpan/perlfaq/lib/perlglossary.pod +++ b/cpan/perlfaq/lib/perlglossary.pod @@ -7,7 +7,7 @@ perlglossary - Perl Glossary =head1 VERSION -version 5.021010 +version 5.021011 =head1 DESCRIPTION |