CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [srhadden] Using require to redirect a cgi script: Edit Log



FishMonger
Veteran / Moderator

Jun 25, 2012, 8:28 AM


Views: 2095
Re: [srhadden] Using require to redirect a cgi script


Quote
I have two .cgi files that have basically the same set of function calls

Wrong approach. Write a true module that exports its subs and simply call whichever sub you need.

What version of perl are you using?

If you can you post your code, we might be able show you better methods.


(This post was edited by FishMonger on Jun 25, 2012, 8:29 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Jun 25, 2012, 8:29 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives