]> git.vpit.fr Git - perl/modules/Sub-Prototype-Util.git/blobdiff - lib/Sub/Prototype/Util.pm
Switch to qw<>
[perl/modules/Sub-Prototype-Util.git] / lib / Sub / Prototype / Util.pm
index efcd9749771bafbedce3173e8970a399da6a3422..6bf77901c8a042635d0d89c858b22419b6ed3a35 100644 (file)
@@ -5,8 +5,8 @@ use 5.006;
 use strict;
 use warnings;
 
-use Carp qw/croak/;
-use Scalar::Util qw/reftype/;
+use Carp         qw<croak>;
+use Scalar::Util qw<reftype>;
 
 =head1 NAME
 
@@ -18,15 +18,15 @@ Version 0.09
 
 =cut
 
-use vars qw/$VERSION/;
+use vars qw<$VERSION>;
 
 $VERSION = '0.09';
 
 =head1 SYNOPSIS
 
-    use Sub::Prototype::Util qw/flatten wrap recall/;
+    use Sub::Prototype::Util qw<flatten wrap recall>;
 
-    my @a = qw/a b c/;
+    my @a = qw<a b c>;
     my @args = ( \@a, 1, { d => 2 }, undef, 3 );
 
     my @flat = flatten '\@$;$', @args; # ('a', 'b', 'c', 1, { d => 2 })
@@ -45,7 +45,7 @@ They all handle C<5.10>'s C<_> prototype.
 
 =cut
 
-my %sigils   = qw/SCALAR $ ARRAY @ HASH % GLOB * CODE &/;
+my %sigils   = qw<SCALAR $ ARRAY @ HASH % GLOB * CODE &>;
 my %reftypes = reverse %sigils;
 
 sub _check_ref {
@@ -313,13 +313,13 @@ The functions L</flatten>, L</wrap> and L</recall> are only exported on request,
 
 =cut
 
-use base qw/Exporter/;
+use base qw<Exporter>;
 
-use vars qw/@EXPORT @EXPORT_OK %EXPORT_TAGS/;
+use vars qw<@EXPORT @EXPORT_OK %EXPORT_TAGS>;
 
 @EXPORT             = ();
 %EXPORT_TAGS        = (
- 'funcs' =>  [ qw/flatten wrap recall/ ]
+ 'funcs' =>  [ qw<flatten wrap recall> ]
 );
 @EXPORT_OK          = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];