Re: the range of an array

2010-04-13 Thread Brad Baxter
On 4/13/2010 7:13 AM, WashingtonGeorge wrote: > > Sorry,my expressions had something wrong a moment ago.i wanted to say > in case i must to use a number bigger than 2**31-1,what should i do? > Regards, > George "use a number bigger than 2**31-1" See Math::BigInt Use an array that big? Diff

Re: the range of an array

2010-04-13 Thread Philip Potter
2010/4/13 WashingtonGeorge : > Sorry,my expressions had something wrong a moment ago.i wanted to say in > case i must to use a number bigger than 2**31-1,what should i do? Please quote the message you are replying to. If you have a dataset with more than 2**31-1 elements, you probably shouldn't b

RE: the range of an array

2010-04-13 Thread WashingtonGeorge
Sorry,my expressions had something wrong a moment ago.i wanted to say in case i must to use a number bigger than 2**31-1,what should i do? Regards, George _ 想知道明天天气如何?必应告诉你! http://cn.bing.

Re: the range of an array

2010-04-13 Thread Philip Potter
2010/4/13 Xubo : > > thank you for responding to me,but supposing i want to use an array which > should includes plenty of elements,what should i do? Do you really need an array with > 2,000,000,000 elements? If you use such large arrays, you're probably not using Perl in the best way that you can

RE: the range of an array

2010-04-13 Thread Xubo
thank you for responding to me,but supposing i want to use an array which should includes plenty of elements,what should i do? Regards, George _ 想知道明天天气如何?必应告诉你! http://cn.bing.com/search?

Re: the range of an array

2010-04-13 Thread Philip Potter
2010/4/13 Xubo : > > Hi,all: > the "learning perl" say an array can have any number of elements,but when i > run such codes: > #!perl > @abc=1..9; > print @abc; > it shows "range iterator outside integer range at 123 line 2." > Regards, > George (You should ask you