projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4068494
)
r822@llin: dpavlin | 2006-07-09 17:14:07 +0200
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jul 2006 15:22:30 +0000
(15:22 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 9 Jul 2006 15:22:30 +0000
(15:22 +0000)
prefix doesn't die if first parametar is undef
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@592
07558da8
-63fa-0310-ba24-
9fe276d99e06
lib/WebPAC/Normalize.pm
patch
|
blob
|
history
diff --git
a/lib/WebPAC/Normalize.pm
b/lib/WebPAC/Normalize.pm
index
37acd66
..
d03b8e0
100644
(file)
--- a/
lib/WebPAC/Normalize.pm
+++ b/
lib/WebPAC/Normalize.pm
@@
-710,7
+710,7
@@
Prefix all values with a string
=cut
sub prefix {
- my $p = shift or
die "prefix needs string as first argument"
;
+ my $p = shift or
return
;
return map { $p . $_ } grep { defined($_) } @_;
}