This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf5741
)
[perl #25160] ':flock' not recognized unless it's first
author
H.Merijn Brand
<h.m.brand@xs4all.nl>
Wed, 21 Jan 2004 21:10:10 +0000
(21:10 +0000)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Wed, 21 Jan 2004 21:10:10 +0000
(21:10 +0000)
Exporter::Heavy now will treat :, /, and ! special in
all arguments, not only if the _first_ arg starts with it
Date: Wed, 21 Jan 2004 08:32:47 -0500
Message-ID: <
20040121133248
.3359.qmail@plover.com>
p4raw-id: //depot/perl@22192
lib/Exporter/Heavy.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Exporter/Heavy.pm
b/lib/Exporter/Heavy.pm
index
2322386
..
2cc7922
100644
(file)
--- a/
lib/Exporter/Heavy.pm
+++ b/
lib/Exporter/Heavy.pm
@@
-69,7
+69,7
@@
sub heavy_export {
$cache_is_current = 1;
}
- if (
$imports[0] =~ m#^[/!:]#)
{
+ if (
grep m{^[/!:]}, @imports)
{
my $tagsref = \%{"${pkg}::EXPORT_TAGS"};
my $tagdata;
my %imports;