in reply to compressing files
I think you want to use backticks:
system("tar -cvf logfiles.tar `cat $filename`");
But I'm not sure why you aren't using:
system("tar -cvf logfiles.tar @srcfiles");
That removes the need for the file.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: compressing files
by ikegami (Patriarch) on Nov 16, 2006 at 16:39 UTC | |
by Corion (Patriarch) on Nov 16, 2006 at 17:08 UTC |