See conditional statements and length in Perl Documentation. Refer: perlop , perlfuncand perlintro.
Prasad
In reply to Re: restriction in input by prasadbabu in thread restriction in input by irah