Vacation.pl

2007-06-24
2013-01-23
  • Avi Rosenblatt
    Avi Rosenblatt
    2007-06-24

    Hi,
    I downloaded vacation.pl 3.2 from svn trunk and I can't get it to work. When I try running it I get the error at the end of this post. I'm not too familiar with perl but I looked at 3.1 which had a 'my' preceding the config vars so I put that in front and now it works. Was it intentional to leave it out?
    Thanx

    Variable "$syslog" is not imported at ./vacation.pl line 38.
            (Did you mean &syslog instead?)
    Variable "$syslog" is not imported at ./vacation.pl line 103.
            (Did you mean &syslog instead?)
    Global symbol "$db_type" requires explicit package name at ./vacation.pl line 30.
    Global symbol "$db_host" requires explicit package name at ./vacation.pl line 31.
    Global symbol "$db_user" requires explicit package name at ./vacation.pl line 32.
    Global symbol "$db_pass" requires explicit package name at ./vacation.pl line 33.
    Global symbol "$db_name" requires explicit package name at ./vacation.pl line 34.
    Global symbol "$sendmail" requires explicit package name at ./vacation.pl line 35.
    Global symbol "$logfile" requires explicit package name at ./vacation.pl line 36.
    Global symbol "$debugfile" requires explicit package name at ./vacation.pl line 37.
    Global symbol "$syslog" requires explicit package name at ./vacation.pl line 38.
    Global symbol "$logger" requires explicit package name at ./vacation.pl line 39.
    Global symbol "$db_type" requires explicit package name at ./vacation.pl line 58.
    Global symbol "$db_name" requires explicit package name at ./vacation.pl line 58.
    Global symbol "$db_host" requires explicit package name at ./vacation.pl line 58.
    Global symbol "$db_user" requires explicit package name at ./vacation.pl line 58.
    Global symbol "$db_pass" requires explicit package name at ./vacation.pl line 58.
    Global symbol "$debugfile" requires explicit package name at ./vacation.pl line 78.
    Global symbol "$debugfile" requires explicit package name at ./vacation.pl line 80.
    Global symbol "$syslog" requires explicit package name at ./vacation.pl line 103.
    Global symbol "$logger" requires explicit package name at ./vacation.pl line 104.
    Global symbol "$logfile" requires explicit package name at ./vacation.pl line 108.
    Global symbol "$logfile" requires explicit package name at ./vacation.pl line 109.
    Global symbol "$sendmail" requires explicit package name at ./vacation.pl line 121.
    Execution of ./vacation.pl aborted due to compilation errors.