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.

-- 
Erez

"The government forgets that George Orwell's 1984 was a warning, and
not a blueprint"
http://www.nonviolent-conflict.org/ -- http://www.whyweprotest.org/

--
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