line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# ExtractWords.pm |
3
|
|
|
|
|
|
|
# Last Modification: Mon Oct 13 14:12:51 WEST 2003 |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# Copyright (c) 2003 Henrique Dias . All rights reserved. |
6
|
|
|
|
|
|
|
# This module is free software; you can redistribute it and/or modify |
7
|
|
|
|
|
|
|
# it under the same terms as Perl itself. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
package Text::ExtractWords; |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
1401
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
83
|
|
12
|
2
|
|
|
2
|
|
12
|
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
312
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
require Exporter; |
15
|
|
|
|
|
|
|
require DynaLoader; |
16
|
|
|
|
|
|
|
require AutoLoader; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
@ISA = qw(Exporter DynaLoader); |
19
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
20
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
21
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
22
|
|
|
|
|
|
|
@EXPORT = qw(&words_count &words_list); |
23
|
|
|
|
|
|
|
$VERSION = '0.08'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
bootstrap Text::ExtractWords $VERSION; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Preloaded methods go here. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# Autoload methods go after =cut, and are processed by the autosplit program. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
__END__ |