Kitti wrote: > > how to convert array to integer > > $array[0]=5 > $array[1]=6 > $array[2]=7 > $array[3]=8 > > change to integer 5678 for calculate 5678+2=5680
$ perl -le' @array = qw(5 6 7 8); print 5678 + 2; print join( "", @array ) + 2; ' 5680 5680 John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]