diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-08 01:34:52 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-08 01:34:52 +0100 |
| commit | 3a4f027ec05aa5fdf4098ceb0dab09f69c5e0b8b (patch) | |
| tree | 8a0c5bebff6a40e77bda8b02142d99a7c448545e /search/lib/localbucky.pm | |
| parent | 340c3080b38518976c5c833399d8e07a7fc561bf (diff) | |
adding perl search index builder
Diffstat (limited to 'search/lib/localbucky.pm')
| -rw-r--r-- | search/lib/localbucky.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/search/lib/localbucky.pm b/search/lib/localbucky.pm new file mode 100644 index 0000000..41c7553 --- /dev/null +++ b/search/lib/localbucky.pm @@ -0,0 +1,12 @@ +package Bucky; +my $LOCAL_CONFIG = + { + SVN_SECRET => '1s0c4h3dr0n', + }; +sub config + { + my ($self, $key) = @_; + $key ||= $self; + return $LOCAL_CONFIG->{$key} if $LOCAL_CONFIG->{$key}; + } +1; |
