<?xml version="1.0" encoding="windows-1252"?>
<node id="845374" title="Re: query about perl" created="2010-06-18 09:27:44" updated="2010-06-18 09:27:44">
<type id="11">
note</type>
<author id="590906">
linuxer</author>
<data>
<field name="doctext">
&lt;p&gt;Try &lt;c&gt;print $ARGV[0]&lt;/c&gt;.

&lt;p&gt;Addendum:
&lt;p&gt;Extracted from [doc://perlvar] 
&lt;c&gt;
@ARGV

The array @ARGV contains the command-line arguments intended for the script. $#ARGV is generally the number of arguments minus one, because $ARGV[0] is the first argument, not the program's command name itself. See $0 for the command name.
&lt;/c&gt;</field>
<field name="root_node">
845373</field>
<field name="parent_node">
845373</field>
</data>
</node>
