Hi guys,
I have a maybe strange question. I have some experience with perl, but not with perl modules (the .pm-files). I have a script that searches my database (search.cgi) and I have a script that gets search results from other sites, but that is a perl-module.
Now I want the 2 results (from the search.cgi and the .pm-file) together in one file, so that I can show them on one page. To do that, I probably must make it the same type of file. My question is: is it better to transform the .cgi-file into a .pm, or to transform the .pm into a .cgi-file? And is it anyway possible?
Thanks a lot.
I have a maybe strange question. I have some experience with perl, but not with perl modules (the .pm-files). I have a script that searches my database (search.cgi) and I have a script that gets search results from other sites, but that is a perl-module.
Now I want the 2 results (from the search.cgi and the .pm-file) together in one file, so that I can show them on one page. To do that, I probably must make it the same type of file. My question is: is it better to transform the .cgi-file into a .pm, or to transform the .pm into a .cgi-file? And is it anyway possible?
Thanks a lot.