Now you can use $path everywhere.BEGIN { ( our $path = $0 ) =~ s/\\[^\\]*$//; }
In reply to Re^3: finding the path of the script running as Win service
by borisz
in thread finding the path of the script running as Win service
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |