while caller appears to use the Unix-standard forward slash.
Not quite.
>perl ./a.pl ./a.pl running in Perl v5.14.0 Caller[1] is: ./a.pl >perl .\a.pl .\a.pl running in Perl v5.14.0 Caller[1] is: .\a.pl
I'd appreciate receiving the MSWin32 output from following code.
How can the path used to open the file not be a MSWin32 path? Windows accepts both "\" and "/" as directory separators.
In reply to Re: Perl's caller builtin
by ikegami
in thread Perl's caller builtin
by geoffleach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |