Here the situation:
I am doing a perl program to do some exams and quiz to the
employees in my job. Supose the name of the program is exam.pl
and I want to store the hash in onother file called
hash_store.pl with a hash called "%RESPUESTAS", so I can change
the test more easy (the question and answer) with a control
pannel that create a hash when the teacher hit submit. The
problem is here, because I use stric in the main program when I
use the "require hash_store.pl" at the top of the program and
then run it, Perl give me this error:
========
The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:
Global symbol "%RESPUESTAS" requires explicit package name at
E:\Inetpub\Medifast\scripts\test\prueba.pl line 72.
Global symbol "%
========
I try all the push to @INC and the sub BEGIN{} and the
function "use" and always Perl give me same massege. When I try
this without strict its run fine.
P.S. Sorry with my english
---------------------------------------------
This message was sent using PRT Internet Web Based Mail Client.
http://www.prtc.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]