|
|
| Do you know where your variables are? | |
| PerlMonks |
moving filesby Anonymous Monk |
| on Oct 16, 2012 at 06:59 UTC ( #999231=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
system ("mv $fil_nm ./reports");
$filnm is present inside foreach loop
at the end i'm using system command
finally i want to mmove all the $fil_nm to a directory reports.but instead only the last executed $fil_nm is moving to a directory reports can u help me how to move all the contents in the $fil_nm to reports directory
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||