in reply to Re: Re: Re: Re: Problem with my .pl script. Helpppp!
in thread Problem with my .pl script. Helpppp!

Because the locations of sub.pl and variable.pl are not being found by Perl. When you require a file, Perl looks inside the @INC array and tries to find files in the only 2 paths it has: C:/indigoperl/lib and C:/indigoperl/site/lib. If i were you, i would find the full path to the directory that contains those two files and add the following line BEFORE you require those two files:
use lib '/path/to/my/files';
Or, if that doesn't work:
push @INC, '/path/to/my/files';
You will have to replace that string with the proper path, of course. Please don't ask us what that proper path is, you will have to figure this one out. (hint: it's the full path of the folder that contains those two files that you want in include.)

And please, dude. The word is why, not whay. I told you this once before. I get the feeling that you aren't listening ...

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: 5Re: Problem with my .pl script. Helpppp!
by webstudioro (Acolyte) on Sep 01, 2003 at 07:58 UTC
    Thank you Jeffa for all, but i'm not stupid. I know what it's
    my path for sub.pl and variable.pl . Sorry for my english.
      My deepest apologies for this language barrier, webstudioro. I do not think you are stupid at all ... in fact, anyone who attempts to program (in Perl, no less) has intelligence in my books. Stupid is as stupid does, and i can be just as stupid as anyone else.

      But ... please remember that learning Web programming does not happen overnight. You have a large task in front of you that involves putting down what you are working on and having to learn items that you may feel are unrelated to your immediate task at hand. I really hope that you indeed did read those links that PodMaster gave you, instead of glancing at them and saying "this doesn't solve my problem!" No, they don't ... but they do teach some basic skills that you appear to be lacking — it is those basic skills that will help you understand what your problem is.

      Please read this: Teach Yourself Programming in Ten Years. I am on currenly in my seventh year. ;)

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      
        ok. Thank you for all.