Changeset 5504 for trunk/Nebulous-Server/lib/Nebulous/Server.pm
- Timestamp:
- Nov 10, 2005, 12:07:53 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r5503 r5504 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.1 6 2005-11-10 21:57:15jhoblitt Exp $3 # $Id: Server.pm,v 1.17 2005-11-10 22:07:53 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 90 90 { 91 91 type => SCALAR, 92 callbacks => { 93 # check that the comment isn't too long 94 'comment length' => sub { length $_[0] < 256 }, 95 }, 92 96 optional => 1, 93 97 }, … … 99 103 # add hooks to make this decision based on avaiable space 100 104 $volume = _get_storage_volume( $volume ); 101 102 # check that the comment isn't too long103 105 104 106 my $uri;
Note:
See TracChangeset
for help on using the changeset viewer.
