From: chris <[EMAIL PROTECTED]> > I am looking for a less cryptic way to handle array index. > > most cryptic > $array[0] > > better > use constant NAME => 0; > $array[NAME]
This all depends on what do you want to do with the data structure. But most probably you do want to use a hash. $hash{NAME} Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]