note
linuxer
<p>So you are referring to [mod://Getopt::Std]?</p>
<p>Did you try to use <c>--</c> to mark the end of the options? For example:</p>
<code>./skript.pl -opt1 -opt2 foo -- -take -us -as -arguments</code>
<p>See the module documentation of [mod://Getopt::Std], which says:</p>
<blockquote>
To allow programs to process arguments that look like switches, but aren't, both functions will stop processing switches when they see the argument --. The -- will be removed from @ARGV.
</blockquote>
<small>
<b>edits:</b>
<ul>
<li>s/mark an end/mark the end/</li>
<li>added some missing paragraph tags
</ul>
</small>
921546
921546