develooper Front page | perl.beginners | Postings from March 2002

Re: changing $0 on solaris?

Thread Previous
From:
William.Ampeh
Date:
March 28, 2002 07:16
Subject:
Re: changing $0 on solaris?
Message ID:
200203281516.JAA28724@p3fed4.frb.org

I do not think your assertion is correct.  You see $0 is the name of the
parent program, and $1 ......$9 the name of the arguments to $0.  You can
modify the arguments ($1 .. $9) but not $0.  The only way you can modify $0
is to start a new program.  If you could include a copy of your program,
that will help.

__________________

William Ampeh (x3939)
Federal Reserve Board


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About