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 $progress_hash{student_id}: 
$!";
               report_error();
           };



well the first thing is you will get a syntax error on 'If'! :) perl keywords are lower case.

thanx,

uri

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to