> i am writing a script to testing if the modules are running, that my
> script need. First i wrote a routine to fetch out all use ... lines in
> all *.pl's in a subfolder.. ok its done. Now I want to check if all
> modules are running and I tryed:
> 
> eval {
>  use CGI;
>  print "CGI ok\n";
>  } or print "CGI err\n";


Try

eval q{
 use CGI;
 print "CGI ok\n";
} or print "CGI err\n";

instead.

Jenda



== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to