Changeset 15265 for trunk/DataStore/lib/DataStore/File.pm
- Timestamp:
- Oct 9, 2007, 1:21:22 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/lib/DataStore/File.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/lib/DataStore/File.pm
r8722 r15265 1 1 # Copyright (C) 2006 Joshua Hoblitt 2 2 # 3 # $Id: File.pm,v 1.1 4 2006-08-31 22:58:34jhoblitt Exp $3 # $Id: File.pm,v 1.15 2007-10-09 23:21:22 jhoblitt Exp $ 4 4 5 5 package DataStore::File; … … 232 232 my $response = $ua->request($request, $filename); 233 233 234 if ($response->is_success) {234 IS_SUCCESS: if ($response->is_success) { 235 235 # check size 236 236 if (defined $self->bytes) { … … 243 243 # set the filename to undef to indicate an error 244 244 $filename = undef; 245 last ;245 last IS_SUCCESS; 246 246 } 247 247 } … … 256 256 # set the filename to undef to indicate an error 257 257 $filename = undef; 258 last ;258 last IS_SUCCESS; 259 259 } 260 260 }
Note:
See TracChangeset
for help on using the changeset viewer.
