… | |
… | |
180 | shared. If $wait is true, then it will wait until the lock can be |
180 | shared. If $wait is true, then it will wait until the lock can be |
181 | acquired, otherwise it only attempts to acquire it and returns |
181 | acquired, otherwise it only attempts to acquire it and returns |
182 | immediately if it can't. |
182 | immediately if it can't. |
183 | |
183 | |
184 | If successful it returns a lock object - the lock will be given up |
184 | If successful it returns a lock object - the lock will be given up |
185 | when the lock object is destroyed. |
185 | when the lock object is destroyed or when the process exits (even on |
|
|
186 | a crash) and has a good chance of working on network drives as well. |
186 | |
187 | |
187 | If the lock could not be acquired, "undef" is returned. |
188 | If the lock could not be acquired, "undef" is returned. |
188 | |
189 | |
189 | This function will probably go awway in the future, but is provided |
190 | This function is provided to assist applications that want to clean |
190 | to assist applications that want to clean up old versions, see "TIPS |
191 | up old versions, see "TIPS AND TRICKS", below. |
191 | AND TRICKS", below. |
|
|
192 | |
192 | |
193 | TIPS AND TRICKS |
193 | TIPS AND TRICKS |
194 | Gathering files |
194 | Gathering files |
195 | Gathering all the files needed for distribution cna be a big |
195 | Gathering all the files needed for distribution can be a big |
196 | problem. Right now, Urlader does not assist you in this task in any |
196 | problem. Right now, Urlader does not assist you in this task in any |
197 | way, however, just like perl source stripping, it is planned to |
197 | way, however, just like perl source stripping, it is planned to |
198 | unbundle the relevant technology from staticperl |
198 | unbundle the relevant technology from staticperl |
199 | (<http://staticperl.plan9.de>) for use with this module. |
199 | (<http://staticperl.plan9.de>) for use with this module. |
200 | |
200 | |