Q:
Hi,
Is there any way of using Perl to basically do this:
if(numbera is not in between 1 and 11) { sayso }
else { say that numbera is in between 1 and 11 }
Thank you
*NAME-DELETED*
A:
Yes of course.
if( $numbera >=1 && $numbera <=11 ){sayso}else{}
Regards,
Peter
[ back to toc ]