Hi Erez
You may also be surprised to learn that all perl features are well documented. You get the index with "perldoc perl", and the page referring to the one you needed "perldoc perlvar".

I'd recommend reading all the online docs as they describe all the features of the language.

--
Andrew in Edinburgh,Scotland

On Fri, 21 Aug 2009, Erez Schatz wrote:

2009/8/21  <pdfe...@aep.com>:
 In *NIX shell scripting, the variable $0 refers to the
zeroth command line parameter,
i.e., the program itself.  I would like to use something like this in my
perl scripts.  Is there an
equivalent to this in perl?


(un)surprisingly enough, it's $0.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to