ActivePerl 5.8
----- Original Message ----- From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 3:41 PM Subject: Re: Is empty directory? > Jair Santos wrote: > > > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > > > > $ perl -le' > > > sub IsDir { return 1 } > > > if ( IsDir() = = 1 ) { print "true" } > > > else { print "false" } > > > ' > > > syntax error at -e line 3, near "= =" > > > Execution of -e aborted due to compilation errors. > > > > Is it a DOS or UNIX box ? Mine is DOS and it works. > > It is a Perl syntax error so it shouldn't matter which OS you run it > on. What version of Perl are you running? > > > John > -- > use Perl; > program > fulfillment > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]