vaas_m has asked for the wisdom of the Perl Monks concerning the following question:
output is 1111000000000000 . It is printing it in the reverse way. One more : When I am doing this way,as followsuse Bit::Vector::Array; bva(my @my_array); $#my_array=15; print @my_array;
output is 10. Can any one tell me 1) What is the difference in initialising as @my_array = value ; and $#my_array = value ? 2) In the first case why is it printing in reverse order?use Bit::Vector::Array; bva(my @my_array); @my_array=15; print @my_array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: usage of Bit vector Array in perl
by diotalevi (Canon) on Mar 22, 2006 at 14:43 UTC | |
by erroneousBollock (Curate) on Mar 23, 2006 at 06:35 UTC |