On 9/19/06, luis medrano <lmzaldivar at gmail.com> wrote: > List, > > I have a question, I need a variable where is holding a value (number) but I > need to check and verify the last digit. For example : > My $number=98765; > > if ($number last digit is 5) > > I really appreciate you help. > if( '5' eq chop $number ) { ... }