develooper Front page | perl.beginners | Postings from April 2002

associative array not looking like I thought it would

Thread Next
P. S. Starkey
April 25, 2002 14:54
associative array not looking like I thought it would
Message ID:
I have some perl script (shown below) and I am wondering why the associative
array being built ends up looking like the printout of the array as shown
after the code.  I would have assumed the array entries would have been
shown in the same order they are put into the array but that is not

%Error=( Error=>"[$ciTDF{'#errval_V'}]: $ciTDF{'#errtext_V'}",
   "Document Name"=>$ciTDF{'DOC_NAME_V'},
   Desc=>"Issuing-could not index to vault",
   Notes=>"Clean Vault Log");

  DB<3> p %Error
Document NamePARRYTESTERR12NotesClean Vault LogError[142]: BCI Err : More
than one match for a record in the BEF input fileDescIssuing-could not index
to vaultRevision1

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About