projects
/
p5sagit/Sub-Exporter-Progressive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
09b9f91
)
remove warning if there are no defaults
Arthur Axel 'fREW' Schmidt [Wed, 1 Aug 2012 17:45:05 +0000 (12:45 -0500)]
Changes
patch
|
blob
|
blame
|
history
lib/Sub/Exporter/Progressive.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
2447813
..
9d56925
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,6
+1,7
@@
Revision history for {{$dist->name}}
{{$NEXT}}
+ - remove warning if there are no defaults
0.001002 2012-07-31 08:59:43 America/Chicago
- Make Sub::Exporter an optional dep (which is kinda the whole point)
diff --git
a/lib/Sub/Exporter/Progressive.pm
b/lib/Sub/Exporter/Progressive.pm
index
be1815b
..
7e41de2
100644
(file)
--- a/
lib/Sub/Exporter/Progressive.pm
+++ b/
lib/Sub/Exporter/Progressive.pm
@@
-77,7
+77,7
@@
sub sub_export_options {
last OPTIONS
}
}
- @defaults = @exports if $defaults[0] eq '-all';
+ @defaults = @exports if @defaults && $defaults[0] eq '-all';
}
return $TOO_COMPLICATED, {