|Think about Loose Coupling|
foreach loop to untar multiple filesby fasoli (Beadle)
|on Nov 13, 2015 at 16:17 UTC||Need Help??|
fasoli has asked for the wisdom of the Perl Monks concerning the following question:
Hello wise monks,
I have been trying to write a foreach loop in order to untar multiple tar.gz files that I (will) have in a directory. The script I've written is
And this is the output I'm getting:
So there seems to be something wrong but I can't find what. As you can see, for now I'm only listing the tar.gz contents, if I get it working I'll add the real extract command.
Have I made a very obvious mistake? It would be great if you could give me a hint about what might be happening.
Thank you! :) I'd really appreciate any help :)