|
A Practical Introduction to Computer Science [22c:104] |
| Why when I launch my perl program I receive the message "Command not found"? |
|
To run a program that's in the current directory you should write or add the current directory to your path, appending the command to the file situated in your home directory |
| Use of uninitialized value in string eq at ./program.pl line XX, <> line XXX. |
|
You are trying to compare or use an uninitialized variable in a operation. You cannot do that! It's necessary to initialize all the variable you will use in your software, because if you don't do that, their initial value is unpredictable. For example, you cannot do something like because the variable $a does not have an assigned value since you didn't initialize it. |