in reply to Perl compare

waytoperl, as you can tell you're getting very varied responses depending on different interpretations of what you've posted here. What is missing is the full output, specifically that of print "$number4\n";, as well as a sample of the input data. Please read and follow the advice in How do I post a question effectively?

Replies are listed 'Best First'.
Re^2: Perl compare
by waytoperl (Beadle) on Sep 26, 2014 at 19:26 UTC

    My issue got resolved. It was list and used split to resolve. Thank you all.