Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Unusual Syntax

Quote Reply
Unusual Syntax
I just noticed this in nph-build.cgi

Code:
if (chmod ($build_dir_per, "$build_root_path$path")) {;
print "Done.";
}
Is the red bit a typo?
I've never seen that type of syntax before.

Should it not be:

Code:
if (chmod ($build_dir_per, "$build_root_path$path")) {
print "Done.";
}
??

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Subject Author Views Date
Thread Unusual Syntax Paul 3684 Jun 25, 2001, 3:48 PM
Thread Re: Unusual Syntax
Andy 3562 Jun 26, 2001, 12:55 PM
Thread Re: Unusual Syntax
Paul 3575 Jun 26, 2001, 12:57 PM
Thread Re: Unusual Syntax
haplo 3560 Jun 26, 2001, 3:10 PM
Thread Re: Unusual Syntax
Paul 3544 Jun 26, 2001, 3:13 PM
Thread Re: Unusual Syntax
haplo 3544 Jun 26, 2001, 4:41 PM
Thread Re: Unusual Syntax
Paul 3575 Jun 26, 2001, 7:17 PM
Post Re: Unusual Syntax
haplo 3513 Jun 27, 2001, 6:37 PM