ftumsh has asked for the wisdom of the Perl Monks concerning the following question:
Lo all,
I have seen some modules that allow the opening of a file by passing one parameter to just the one method. The param can be one of file name, open file handle or an IO::File object.
I want to do the same sort of thing. What sort of tests do I do to see what type of paramter has been passed?
Thx
John
Back to
Seekers of Perl Wisdom