in reply to Re^7: Use of "my" after Perl v5.14
in thread Use of "my" after Perl v5.14

Thanks :)

Got it worked now.. Have to move chomp() outside that method call.. And then pass the modified numList as a Parameter..