----- Original Message -----
From: "Randal L. Schwartz" <mer...@stonehenge.com>
To: <beginners@perl.org>
Sent: Monday, December 27, 2010 1:57 PM
Subject: Re: Syntax Errors
"Bill" == Bill Casey <wtca...@wtcasey.com> 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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/