in reply to Re: finding the path of the script running as Win service
in thread finding the path of the script running as Win service
I can't even grok the above. That said, wrt the second part, I want to really do
Why does $path declared before the BEGIN block not be visible inside the BEGIN block?( our $path = $0 ) =~ s/\\[^\\]*$//; BEGIN { print $path; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: finding the path of the script running as Win service
by davido (Cardinal) on Jan 05, 2005 at 22:47 UTC | |
by punkish (Priest) on Jan 05, 2005 at 22:55 UTC | |
|
Re^3: finding the path of the script running as Win service
by borisz (Canon) on Jan 05, 2005 at 22:40 UTC |