Hi all,

I need to execute the code found in a separate file (that file is written by another script).
I wrote:

        my $nf = shift();
        chomp($nf);
        require("./ricerche/$nf.pl");

see what happens:

Can't locate ./ricerche/VALICO672.pl in @INC (@INC contains: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at ./4-interroga.pl line 13.

the pathname is correct (the code in the separate file too), alla permissions are ok, but I cannot include it.

Any help is appreciated,

alladr


|^|_|^|_|^|                              |^|_|^|_|^|    
 |            |                                 |            |
 |            |                                 |            |
 |            |*\_/*\_/*\_/*\_/*\_/* |            |
 |                                                           |
 |                                                           |
 |                                                           |
 |         http://www.e-allora.net        |
 |                                                           |
 |                                                           |
**************************************

Reply via email to