fro the second part, this works:( our $path = $0 ) =~ s/\\[^\\]*$//;
my $foo; BEGIN { $foo = 'bar'; }
In reply to Re: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |