----- Original Message ----- From: "Randal L. Schwartz" <[email protected]>
To: <[email protected]>
Sent: Monday, December 27, 2010 1:57 PM
Subject: Re: Syntax Errors


"Bill" == Bill Casey <[email protected]> writes:

Bill> Syntax error at import_track.pl line 11, near ")   {"
Bill> Syntax error at import_track.pl line 14, near "}"

Perl doesn't ever say "syntax error".  So those errors are not
coming from Perl.

Eh?

####################################
C:\_32\pscrpt>type try.pl
use warnings;
use strict;

if(ord('x') {print "ok\n"}

C:\_32\pscrpt>perl try.pl
syntax error at try.pl line 4, near ") {"
Execution of try.pl aborted due to compilation errors.

####################################

Is that specific to Windows ?

Cheers,
Rob

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to