|
|
| go ahead... be a heretic | |
| PerlMonks |
process a file and reading a line and passing the values to another sub functionby Vijay81 (Acolyte) |
| on Dec 12, 2012 at 15:41 UTC ( #1008518=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Vijay81 has asked for the
wisdom of the Perl Monks concerning the following question:
Hi All,
Am trying to read directory/subdirectories and for files from a path recursively. Once file found in any directory, reading file content(usually just 1 line in a file) and substituting space with comma from the line. then I need to pass the values to another sub functions. Problem : 1. line number 35 doesn't seems to be working. when i try to print $line, it doesn't show anything/value. 2. Need to pass @columns/@filenames/@dir_names to the sub function(&write_output) called in line number 46. Can someone tell me where am doing wrong and help me out I need to know is there any tool/utlity for Windows XP where in which in can run the perl script line by line debugging mode so, that i can see what's happen to the variables during run time. Many Thanks...
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||