Re: obstinate syntax errors

2018-01-19 Thread Darryl Philip Baker
I don't have the time to put everything around this to do the syntax test but what happens with this: If ( ! chdir "/big/dom/x$server/data/students/$progress_hash{student_id}/" ) { $message = "Can't change directory to $progress_hash{student_id}: $!"; report_e

Re: obstinate syntax errors

2018-01-19 Thread Uri Guttman
On 01/19/2018 01:43 PM, Darryl Philip Baker wrote: I don't have the time to put everything around this to do the syntax test but what happens with this: If ( ! chdir "/big/dom/x$server/data/students/$progress_hash{student_id}/" ) { $message = "Can't change directory to $

Re: obstinate syntax errors

2018-01-19 Thread Rick T
Uri, Thank you SO much for your helpful comments! You didn’t just solve THIS problem, you’ve helped me in my future programming! Rick > On Jan 19, 2018, at 11:56 AM, Uri Guttman wrote: > > On 01/19/2018 12:44 PM, Rick T wrote: >> The subroutine below produces the following syntax errors: >>

Re: obstinate syntax errors

2018-01-19 Thread Uri Guttman
On 01/19/2018 12:44 PM, Rick T wrote: The subroutine below produces the following syntax errors: syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 71, near ""Can't change directory to $progress_hash{student_id}: $!";" syntax error at /big/dom/xexploringmyself/cgi-bin/register.

obstinate syntax errors

2018-01-19 Thread Rick T
The subroutine below produces the following syntax errors: syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 71, near ""Can't change directory to $progress_hash{student_id}: $!";" syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 73, near ")" I've tried adding