Skip to content

Commit

Permalink
import Switch 2.12 from CPAN
Browse files Browse the repository at this point in the history
git-cpan-module:   Switch
git-cpan-version:  2.12
git-cpan-authorid: RGARCIA
git-cpan-file:     authors/id/R/RG/RGARCIA/Switch-2.12.tar.gz
  • Loading branch information
rgs authored and schwern committed Dec 13, 2009
1 parent 6ebe90d commit 58ba42c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions Changes
Expand Up @@ -84,3 +84,7 @@ Revision history for Perl extension Switch.

- Fix documentation issues
- Fix installation directory for perls >= 5.7.3 (Slaven Rezic)

2.12 Mon Dec 11 2006

- Fix bug in parsing POD at end of document (Valentin Guignon)
2 changes: 1 addition & 1 deletion META.yml
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Switch
version: 2.11
version: 2.12
version_from: Switch.pm
installdirs: perl
requires:
Expand Down
7 changes: 3 additions & 4 deletions README
@@ -1,5 +1,5 @@
==============================================================================
Release of version 2.11 of Switch
Release of version 2.12 of Switch
==============================================================================


Expand Down Expand Up @@ -27,11 +27,10 @@ COPYRIGHT

==============================================================================

CHANGES IN VERSION 2.11
CHANGES IN VERSION 2.12


- Fix documentation issues
- Fix installation directory for perls >= 5.7.3 (Slaven Rezic)
- Fix bug in parsing POD at end of document (Valentin Guignon)


==============================================================================
Expand Down
4 changes: 2 additions & 2 deletions Switch.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use vars qw($VERSION);
use Carp;

$VERSION = '2.11';
$VERSION = '2.12';


# LOAD FILTERING MODULE...
Expand Down Expand Up @@ -73,7 +73,7 @@ sub is_block
}


my $EOP = qr/\n\n|\Z/;
my $EOP = qr/\n|\Z/;
my $CUT = qr/\n=cut.*$EOP/;
my $pod_or_DATA = qr/ ^=(?:head[1-4]|item) .*? $CUT
| ^=pod .*? $CUT
Expand Down

0 comments on commit 58ba42c

Please sign in to comment.