projects
/
perl-cwmp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
94d4475
)
r137@llin (orig r136): dpavlin | 2007-10-26 23:20:50 +0200
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 27 Oct 2007 22:53:44 +0000
(22:53 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 27 Oct 2007 22:53:44 +0000
(22:53 +0000)
fix all known uids
git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@152
836a5e1a
-633d-0410-964b-
294494ad4392
lib/CWMP/Store/YAML.pm
patch
|
blob
|
history
diff --git
a/lib/CWMP/Store/YAML.pm
b/lib/CWMP/Store/YAML.pm
index
588060f
..
9805a50
100644
(file)
--- a/
lib/CWMP/Store/YAML.pm
+++ b/
lib/CWMP/Store/YAML.pm
@@
-79,7
+79,7
@@
sub all_uids {
my @uids = grep { /\.yml$/ && -f "$dir/$_" } readdir($d);
closedir $d;
- return map {
s/\.yml$//
} @uids;
+ return map {
my $l = $_; $l =~ s/\.yml$//; $l
} @uids;
}
1;