OT - Perl Question
darryl at osborne-ind.com
Tue Nov 11 12:52:58 PST 2003
I am trying to learn perl. I am going through a tutorial and have come
across a syntax error I can't figure out.
Here's the code:
print "Please tell me your name: ";
print "Please tell me your nationality: ";
if ( $nation eq "British" or $nation eq "New Zealand" )
print "Hallo $name, pleased to meet you!\n";
when I try to run it, it generates a compile errors on the
I know its the conditional test, but don't know how to fix
it to be syntactically correct in perl.
More information about the freebsd-questions