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]