Peter Eisengrein [mailto:[EMAIL PROTECTED]] suggested:

> print `cd`;

This is very bad advice for several reasons:

- depends on "cd" being in $PATH (or builtin to the shell)
- Perl code need not be started from current directory


If one needs to find his script's home directory, then
FindBin is definitely the way to go.

MfG,
-- 
Thomas Bätzler, Network Engineer, Network Operations EMEA
Peregrine Systems GmbH             web: www.peregrine.com
Steinhäuserstraße 22             phone: +49-721-98143-166
D-76135 Karlsruhe / Germany        fax: +49-721-98143-196
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to