summaryrefslogblamecommitdiffstats
path: root/util/LocalVars.pm.sample
blob: 04806da6cd6d94ab20a76df90d40e4bc0591edf8 (plain) (tree)
1
2
3
4
5
6
7
8




                    
                                           
                           
                      


                  
                       









                                     

                              
#!/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 = '/bin/tar';
$LYNX = '/usr/local/bin/lynx';
$GREP = '/usr/bin/grep';