… | |
… | |
3 | use Carp; |
3 | use Carp; |
4 | |
4 | |
5 | require Exporter; |
5 | require Exporter; |
6 | require DynaLoader; |
6 | require DynaLoader; |
7 | |
7 | |
8 | $VERSION = "1.0"; |
8 | $VERSION = "1.01"; |
9 | |
9 | |
10 | @ISA = qw(Exporter DynaLoader); |
10 | @ISA = qw(Exporter DynaLoader); |
11 | |
11 | |
12 | @_consts = qw( |
12 | @_consts = qw( |
13 | ACT_COPYING ACT_DECODING ACT_ENCODING ACT_IDLE ACT_SCANNING |
13 | ACT_COPYING ACT_DECODING ACT_ENCODING ACT_IDLE ACT_SCANNING |
… | |
… | |
261 | |
261 | |
262 | =item ($retval, $count) = LoadFile $fname, [$id, [$delflag, [$partno]]] |
262 | =item ($retval, $count) = LoadFile $fname, [$id, [$delflag, [$partno]]] |
263 | |
263 | |
264 | Load the given file and scan it for encoded contents. Optionally tag it |
264 | Load the given file and scan it for encoded contents. Optionally tag it |
265 | with the given id, and if C<$delflag> is true, delete the file after it |
265 | with the given id, and if C<$delflag> is true, delete the file after it |
266 | is no longer necessary. If you are certain of the part number, you cna |
266 | is no longer necessary. If you are certain of the part number, you can |
267 | specify it as the lat argument. |
267 | specify it as the last argument. |
268 | |
268 | |
269 | A better (usually faster) way of doing this is using the C<SetFNameFilter> |
269 | A better (usually faster) way of doing this is using the C<SetFNameFilter> |
270 | functionality. |
270 | functionality. |
271 | |
271 | |
272 | =item $retval = Smerge $pass |
272 | =item $retval = Smerge $pass |