Hi, CGI experts,
I have two pieces of CGI perl code left from 2 ex-coworkers. One piece of code used %ENV to handle all cgi variables and the other used CGI.pm. Now, I have to merge them together but have run into some deadlock. It seems to me that
1) if I used CGI.pm, then I could not use %ENV;
and
2) if I used %ENV, then I could not use CGI.pm.
Could anyone here confirm this and explain why? Or did I simply get a wrong conclusion, which means %ENV and CGI.pm CAN work together in the same piece of code?
Thank you for reading this and any help is highly appreciated!
I have two pieces of CGI perl code left from 2 ex-coworkers. One piece of code used %ENV to handle all cgi variables and the other used CGI.pm. Now, I have to merge them together but have run into some deadlock. It seems to me that
1) if I used CGI.pm, then I could not use %ENV;
and
2) if I used %ENV, then I could not use CGI.pm.
Could anyone here confirm this and explain why? Or did I simply get a wrong conclusion, which means %ENV and CGI.pm CAN work together in the same piece of code?
Thank you for reading this and any help is highly appreciated!