Hi, Thanks...i got my mistake...it worked after the below as Rob suggested:- my @cdr=split (/,/, $line) ; $cdr[13] = $cdr[6]*5.0 ; $line = join(",",@cdr); $hash{"@cdr[2,3,6,7]"}=$line;
But a few improvizations. $cdr[13] that I am trying to manipulate is a "amount" field and should be a floating point value...how can I print it as floating point in perl? Also I am reading from an input file and writing to an output file. Is it possible to read and write to the same file without any side-effects?? @Jeff:- As you said that @[EMAIL PROTECTED] is different with $hash{"@arr"}, I am sorry but I am not sure what you are trying to point out through this. Can you please explain at a very basic level so that I can understand how it works and how it affects my code? Thanks, Mihir