I am wondering how perl move/copy functions are able to take either a file name(string) or filehandle as parameter. Is there any way user code can find this out? without any hack. or using 3rd party modules?
In reply to check scalar holds filehandle by bagyi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |