Matthias Ulrich Neeracher writes: |Xah Lee <xah@best.com> writes: |> print $0; |>in MacPerl, I get the full path of the file name. But on both Linux and |>FreeBSD boxes I tried, only the abbreviated path is given, e.g.: |> ./scriptName |The reason why MacPerl gives a full path is that it has no reasonable |notion of a "current directory" on which to base relative paths as long |as no script is running (Once a script is started, the relative path is |based on the location of the script). But print $0 (or doing anything else with $0) is only possible if a script is running... Brian ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch