|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Error using system() and tar with several optionsby Crackers2 (Vicar) |
| on Apr 13, 2009 at 21:38 UTC ( #757286=note: print w/ replies, xml ) | Need Help?? |
|
When using the multi-argument form of system, the arguments get passed directly to the binary so there's no implicit split on whitespace. So your tar command sees the "czv --exclude-from=$excludes -f" as one big parameter and tries to interpret each character as a short option. Do this instead:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||