From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean Sent: 06 October 2006 09:19 To: Active Perl Subject: regarding CGI
> 1. can we "use" or "require" a .cgi file into another .cgi file?? "use", no (use expects files to be names something.pm), "require" yes it is possible. But you should be aware of the difference, see 'perldoc -f use' and 'perldoc -f require'. > 2. I declared a variable of scope "our" in A.cgi ... and "use"d it in B.cgi ... but IE reports error. any way > to get around this?? "IE reports error" doesn't tell us very much, and unless your script included "use CGI::Carp qw(fatalsToBrowser);" what IE reports will not tell you much either, but your web server error log might. If you explain what you are trying to accomplish, and provide sort example scripts that demonstrate the problem we might be able to help. HTH -- Brian Raven ================================= Atos Euronext Market Solutions Disclaimer ================================= The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
