summaryrefslogtreecommitdiffstats
path: root/sample/LocalVars.pm
diff options
context:
space:
mode:
Diffstat (limited to 'sample/LocalVars.pm')
-rw-r--r--sample/LocalVars.pm24
1 files changed, 24 insertions, 0 deletions
diff --git a/sample/LocalVars.pm b/sample/LocalVars.pm
new file mode 100644
index 00000000..1f24872d
--- /dev/null
+++ b/sample/LocalVars.pm
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+package LocalVars;
+require Exporter;
+@ISA = qw/Exporter/;
+@EXPORT = qw/
+ $hostname $MYHOSTNAME $FQDN $SMTPSERVER
+ $BBSHOME $JOBSPOOL $TMP
+ $TAR $LYNX $GREP/;
+
+# host
+$hostname = 'ptt';
+$MYHOSTNAME = 'ptt.cc';
+$FQDN = 'ptt.csie.ntu.edu.tw';
+$SMTPSERVER = 'ptt2.csie.ntu.edu.tw';
+
+# dir
+$BBSHOME = '/home/bbs';
+$JOBSPOOL = "$BBSHOME/jobspool";
+$TMP = '/tmp';
+
+# program
+$TAR = '/usr/bin/tar';
+$LYNX = '/usr/local/bin/lynx'; # /usr/ports/www/lynx
+$GREP = '/usr/bin/grep';