Re: How to Update Hash to Itself Recursively

2005-09-16 Thread Jeff 'japhy' Pinyan
On Sep 16, Wijaya Edward said: But how come my code below doesn't give the intended result as below? How can I go about it? Simply put, because the 'foreach my $line (keys %line)' creates the list of keys ahead of time. Here's one way to achieve your goal: my @stack = qw( A B C ); my @

How to Update Hash to Itself Recursively

2005-09-16 Thread Wijaya Edward
Dear Guru, The simple example below is by the process of "appending" the elem of @tojoin and %line. My code below attempt to update the hash recursively. Keep processing it until string "AYW". The appending process is for simple illustration. Actually there is other more process to it. But my