#include "langperl.h"
LangPerl::LangPerl() {
fill();
init_switches();
doSymbols = Yes;
doLabels = Yes;
doScalars = Yes;
doArrays = Yes;
doHashes = Yes;
doUnxComnt = Yes;
}
void LangPerl::fill() {
string K[] = {
"and","bless","chdir","chomp","chop","chr","case","delete",
"die","do","each","else","elsif","exit","foreach","for",
"function","if","in","join","keys","last","local","my","next",
"no","null","or","package","pack","printf","print","push",
"read","redo","require","return","seek","select","shift",
"splice","split","sub","tell","tied","then","undef","unless",
"untie","until","use","vars","warn","while","xor"
};
for(int k=0;k < 55;k++) {keys.push_back(K[k]);}
string T[] = {
"close","closedir","flock","mkdir","open","opendir","readdir",
"rewinddir","rmdir","unlink"
};
for(int t=0;t < 10;t++) {types.push_back(T[t]);}
}