From e76b691e78e273226cba9284cb8cd22a423319ed Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 2 Aug 2013 17:23:25 -0500 Subject: bucky2 --- bucky2/lib/localbucky.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bucky2/lib/localbucky.pm (limited to 'bucky2/lib/localbucky.pm') diff --git a/bucky2/lib/localbucky.pm b/bucky2/lib/localbucky.pm new file mode 100644 index 0000000..41c7553 --- /dev/null +++ b/bucky2/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; -- cgit v1.2.3-70-g09d2