blob: 92897b740449989439f549ef5dcbbbcde7d44a2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/usr/bin/env perl
#===============================================================================
#
# FILE: skript2.pl
#
# USAGE: ./skript2.pl
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Stefan Suhren (su), suhren.stefan@fh-swf.de
# ORGANIZATION: FH Südwestfalen, Iserlohn
# VERSION: 1.0
# CREATED: 02.12.2015 13:40:46
# REVISION: ---
#===============================================================================
use strict;
use warnings;
use utf8;
# For dumping data
use Data::Dumper;
# Add own module
use searchengine;
# enforce utf-8 mode
binmode (STDIN, ":encoding(UTF-8)");
binmode (STDOUT, ":encoding(UTF-8)");
binmode (STDERR, ":encoding(UTF-8)");
use open ":encoding(UTF-8)";
my $stoplistFile = "stoplist.txt";
my %stoplist;
buildStoplist($stoplistFile, \%stoplist);
print Dumper(\%stoplist);
|