diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2012-08-16 00:12:09 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-08-16 00:12:09 +0100 |
commit | 338a1057f3ecc833caa1897d40a280225ec1bf78 (patch) | |
tree | 9de29249b5ddf1c322af1c44dc6f65f87bf0611d /cpan/perlfaq | |
parent | b43fc6a1c1224963b2a2430029a638a4294147d0 (diff) | |
download | perl-338a1057f3ecc833caa1897d40a280225ec1bf78.tar.gz |
Upgrade perlfaq to 5.0150041
Diffstat (limited to 'cpan/perlfaq')
-rw-r--r-- | cpan/perlfaq/lib/perlfaq.pm | 2 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq3.pod | 7 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq4.pod | 4 | ||||
-rw-r--r-- | cpan/perlfaq/lib/perlfaq5.pod | 4 |
4 files changed, 12 insertions, 5 deletions
diff --git a/cpan/perlfaq/lib/perlfaq.pm b/cpan/perlfaq/lib/perlfaq.pm index 163c5992d4..bbd176c11d 100644 --- a/cpan/perlfaq/lib/perlfaq.pm +++ b/cpan/perlfaq/lib/perlfaq.pm @@ -1,6 +1,6 @@ package perlfaq; { - $perlfaq::VERSION = '5.0150040'; + $perlfaq::VERSION = '5.0150041'; } 0; # not is it supposed to be loaded diff --git a/cpan/perlfaq/lib/perlfaq3.pod b/cpan/perlfaq/lib/perlfaq3.pod index 9e9ae8d906..8f90c60908 100644 --- a/cpan/perlfaq/lib/perlfaq3.pod +++ b/cpan/perlfaq/lib/perlfaq3.pod @@ -366,6 +366,13 @@ 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 Kephra + +L<http://kephra.sf.net> + +GUI Editor written in Perl using wxWidgets and Scintilla with lots of smaller features. +Aims for an UI based on Perls principles like TIMTWTDI and "easy thinkd should be ..". + =item Komodo L<http://www.ActiveState.com/Products/Komodo/> diff --git a/cpan/perlfaq/lib/perlfaq4.pod b/cpan/perlfaq/lib/perlfaq4.pod index e5de15385a..8378ba7176 100644 --- a/cpan/perlfaq/lib/perlfaq4.pod +++ b/cpan/perlfaq/lib/perlfaq4.pod @@ -1266,8 +1266,8 @@ for list operations, so list operations also work on arrays: wash_animals( qw( dog cat bird ) ); wash_animals( @animals ); -Array operations, which change the scalars, rearranges them, or adds -or subtracts some scalars, only work on arrays. These can't work on a +Array operations, which change the scalars, rearrange them, or add +or subtract some scalars, only work on arrays. These can't work on a list, which is fixed. Array operations include C<shift>, C<unshift>, C<push>, C<pop>, and C<splice>. diff --git a/cpan/perlfaq/lib/perlfaq5.pod b/cpan/perlfaq/lib/perlfaq5.pod index d03ca9f483..c8cb64eafa 100644 --- a/cpan/perlfaq/lib/perlfaq5.pod +++ b/cpan/perlfaq/lib/perlfaq5.pod @@ -194,11 +194,11 @@ you can fit the whole thing in memory!): open my $in, '<', $file or die "Can't read old file: $!" open my $out, '>', "$file.new" or die "Can't write new file: $!"; - my @lines = do { local $/; <$in> }; # slurp! + my $content = do { local $/; <$in> }; # slurp! # do your magic here - print $out @lines; + print $out $content; Modules such as L<File::Slurp> and L<Tie::File> can help with that too. If you can, however, avoid reading the entire file at once. Perl |