|Perl: the Markov chain saw|
Re: looping logic error while printing output from folder/flie contentby 2teez (Priest)
|on Dec 15, 2012 at 02:36 UTC||Need Help??|
"..but problem is everytime it prints first filename and it's folder/basefolder name.."
The filename is not changing. Likewise are other variables used in your &write_output subroutine.
You are simply just calling your &write_output subroutine, again and again.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me