Changeset 28484 for branches/pap/DataStore/lib/DataStore/FileSet/Parser.pm
- Timestamp:
- Jun 24, 2010, 2:59:09 PM (16 years ago)
- Location:
- branches/pap
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
DataStore/lib/DataStore/FileSet/Parser.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/DataStore/lib/DataStore/FileSet/Parser.pm
r15024 r28484 100 100 101 101 $p{base_uri} =~ qr|(.*?/)index.txt|; 102 $self->{base_uri} = $1; 102 $self->{base_uri} = $1; 103 103 104 104 return $self; … … 129 129 { 130 130 type => SCALAR, 131 regex => qr/\S+/, # string with at least 1 non WS char132 131 } 133 132 ); … … 139 138 next LINE if $line =~ /^\s*$/; 140 139 141 # comment lines 140 # comment lines 142 141 next LINE if $line =~ /^\s*\#/; 143 142 … … 183 182 carp "line $lineno: type $type unknown: $line"; 184 183 next LINE; 185 } 184 } 186 185 187 186 my @extra = @fields[3 .. $#fields] if $#fields >= 3; … … 192 191 datetime => $datetime, 193 192 type => $type, 194 extra => \@extra, 193 extra => \@extra, 195 194 uri => $self->base_uri . $fileset . '/index.txt', 196 195 });
Note:
See TracChangeset
for help on using the changeset viewer.
