Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Perl Ally, From the usage in the subroutine, you can actually use them straight. At least, if not for anything, it shorten the line of codes to read through. You really don't have to do explicit close $file; The file should close, when the subroutine returns. Then in your extractData subroutine, what does $pointerProj variable stand for. It must be a variable defined somewhere in the code? Suggestion (troubleshooting): Why not print out, what you have in "@projects" before the for-loop, to be sure you are getting desired data first? NOTE: Since one can't have more information than already provided. One can on speculate.
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 In reply to Re^5: Passing Along Arrays
by 2teez
|
|