Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
hi
i want to know wheather we can build an array which will acta s an hash at runtime
it is possible otherwise in versions 5.005 and above
using the syntax
{key1=>arrayindexvalue1, key2=>arrayindexvalue2,..... }for example now this will work both as an array and a hash can i build this thype of array at runtime that is can i add elements to this array one by one rather than initializing them all at one time thanks dinesh edited: Mon Jul 1 13:29:48 2002 by jeffa - added code tags In reply to making arrays that act like hashes at runtime by dinesh
|
|