hi Guys,
Sorry abt my previous post. basically what i want to do is write a module that contains a function that returns an open filehandle at the begining of a file which i want to copy to a location specified in my local script. i'm not sure how to return a filehandle. i also dont know how i can accept a filehandle in the script.
i tried this but it wouldn't work coz i use strict. copy.txt is the filename which i want to save it as.
open OUTF, '>copy.txt;
OUTF = MyModule::Myfunction;
thanks for the help