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 @
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