With this, work fine (note the 's/')
(my $log_file = $0 )=~ s/pl$/log/;
In reply to Re^2: Different behavior when parsing $0 on Solaris and Win32
by dirac
in thread Different behavior when parsing $0 on Solaris and Win32
by dirac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |