[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Finding a script's full pathname



Hi,

How can I get a script to know about its own full pathname?

In MacPerl, the variable $0 only returns the name of the script
and not its full pathname.

Similarly, how can I get the path of the script's enclosing folder?

If there are differences, both Macperl and general Perl solutions would be
appreciated (for comparison purpose, of course).

Help! ;)

Stˇphane.


        	_____S__t__ˇ__p__h__a__n__e_____J__o__s__e_____

		         mailto:jose.stephane@uqam.ca
	              http://www.er.uqam.ca/nobel/m206474/


                  - Hiroshima 45, Tchernobyl 86, Windows 95 -



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch