Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's probably not working since you're not replacing things like <code>$ZIP_DEBUG</code> with their equivalent <em>real</em> values. Within Perl, they will be replaced with the values of the variables <em>before</em> being passed to the <code>system</code> call.</p> <p>If you print out those Perl variables (or even the entire command) before you execute that <code>system</code> call, you'll find out those real values that you need to use. You can use the following transcript to guide you:</p> <pre><code>$ perl -e ' &gt; $ZIP_DEBUG = "xyzzy"; &gt; $include = "inc_files"; &gt; $exclude = "exc_files"; &gt; print "zip $ZIP_DEBUG -r -9 itvlib.zip $include $exclude"; &gt; ' zip xyzzy -r -9 itvlib.zip inc_files exc_files </code></pre> <p>For details on how <code>system</code> works, see <a href="http://perldoc.perl.org/functions/system.html" rel="nofollow">here</a>. For details on what <code>zip</code> needs to function, you should just be able to run:</p> <pre><code>man zip </code></pre> <p>from a command line shell (assuming you're on Linux or its brethren). If, instead, you're on a different operating system (like Windows), you'll have to figure out how to get the zip options out. This <em>may</em> well be as simple as <code>zip -?</code> of <code>zip -h</code> but there's no guarantee that will work.</p> <p>If it's the same as the Info-ZIP <code>zip</code> under Linux (and it may be if you have the <code>-9</code> and <code>-r</code> options and your <code>exclude</code> variable starts with <code>-x</code>), then <code>zip -h</code> will get you basic help and <code>zip -h2</code> will give you a lot more.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload