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?
Use the source luke, UTSL (this means read the module, read the .pm file, its open source, read it, then you'll know how it does what it does, there are no secrets )
In reply to Re: check scalar holds filehandle
by Anonymous Monk
in thread check scalar holds filehandle
by bagyi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |