Re: perl arraay

2003-12-09 Thread Sisyphus
Eric Edwards wrote: $input = $input / 2; Make that: $input = int($input / 2); In perl, if $input = 13, then $input / 2 = 6.5 Cheers, Rob -- Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, plea

Re: perl arraay

2003-12-09 Thread $Bill Luebkert
Eric Edwards wrote: > Hello list, > I had written this program in c++ and am trying to rewrite it in perl. It > converts from decimal to binary--but my array size keeps coming out at 1080 > elements. I have some more perl books on the way but am stuck now. > Thanks for any help. > #!/usr/bin/pe